diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-02 12:09:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-02 12:09:49 +0300 |
commit | 157c4d9279f8ba1ad14debad9bdd017725bad316 (patch) | |
tree | 1a594f4a8a42c53fa0d55a65e067f133e387bce5 /app/assets/javascripts/sidebar/mount_sidebar.js | |
parent | e55fd66eae00abbfe53b24cf7f52f6ddfd0da8b1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/sidebar/mount_sidebar.js')
-rw-r--r-- | app/assets/javascripts/sidebar/mount_sidebar.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/sidebar/mount_sidebar.js b/app/assets/javascripts/sidebar/mount_sidebar.js index 9f5a2f4ebb0..898be4a97ce 100644 --- a/app/assets/javascripts/sidebar/mount_sidebar.js +++ b/app/assets/javascripts/sidebar/mount_sidebar.js @@ -260,6 +260,10 @@ export function mountSidebarLabels() { variant: DropdownVariant.Sidebar, canUpdate: parseBoolean(el.dataset.canEdit), isClassicSidebar: true, + issuableType: + isInIssuePage() || isInIncidentPage() || isInDesignPage() + ? IssuableType.Issue + : IssuableType.MergeRequest, }, render: (createElement) => createElement(SidebarLabels), }); |