debian-mirror-gitlab/app/assets/javascripts/feature_flags/components/strategy_label.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
495 B
Vue
Raw Normal View History

2023-03-04 22:38:38 +05:30
<script>
export default {
props: {
name: {
type: String,
required: true,
},
scopes: {
type: String,
required: false,
default: null,
},
parameters: {
type: String,
required: false,
default: null,
},
},
};
</script>
<template>
<div>
<strong class="gl-fw-bold"
>{{ name }}<span v-if="parameters"> - {{ parameters }}</span
>:</strong
>
<span v-if="scopes">{{ scopes }}</span>
</div>
</template>