diff options
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), }); |