diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 18:08:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 18:08:50 +0300 |
commit | e06d0e779673d745972863302858105aad9032e5 (patch) | |
tree | 0ff35b27a949a164f586613004b4abfe33e7d20e /app/assets/javascripts/boards/components/board_sidebar.js | |
parent | f7dae0cdcb70ecb71c1d65f099e9d96b27a4548c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/boards/components/board_sidebar.js')
-rw-r--r-- | app/assets/javascripts/boards/components/board_sidebar.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/javascripts/boards/components/board_sidebar.js b/app/assets/javascripts/boards/components/board_sidebar.js index ba1fe9202fc..9b67126bee2 100644 --- a/app/assets/javascripts/boards/components/board_sidebar.js +++ b/app/assets/javascripts/boards/components/board_sidebar.js @@ -2,6 +2,7 @@ import $ from 'jquery'; import Vue from 'vue'; +import { GlLabel } from '@gitlab/ui'; import Flash from '~/flash'; import { sprintf, __ } from '~/locale'; import Sidebar from '~/right_sidebar'; @@ -22,6 +23,7 @@ export default Vue.extend({ components: { AssigneeTitle, Assignees, + GlLabel, SidebarEpicsSelect: () => import('ee_component/sidebar/components/sidebar_item_epics_select.vue'), RemoveBtn, @@ -67,6 +69,9 @@ export default Vue.extend({ selectedLabels() { return this.hasLabels ? this.issue.labels.map(l => l.title).join(',') : ''; }, + helpLink() { + return boardsStore.scopedLabels.helpLink; + }, }, watch: { detail: { @@ -147,8 +152,5 @@ export default Vue.extend({ showScopedLabels(label) { return boardsStore.scopedLabels.enabled && isScopedLabel(label); }, - helpLink() { - return boardsStore.scopedLabels.helpLink; - }, }, }); |