Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tag_field.vue « components « releases « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4fea9bee356a4276f4d7e61fde21411bf392daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<script>
import { mapState } from 'vuex';
import TagFieldExisting from './tag_field_existing.vue';
import TagFieldNew from './tag_field_new.vue';

export default {
  components: {
    TagFieldExisting,
    TagFieldNew,
  },
  computed: {
    ...mapState('editNew', ['isExistingRelease']),
  },
};
</script>

<template>
  <tag-field-existing v-if="isExistingRelease" />
  <tag-field-new v-else />
</template>