debian-mirror-gitlab/app/assets/javascripts/feature_flags/components/strategy_label.vue
2023-03-04 22:38:38 +05:30

29 lines
495 B
Vue

<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>