From 54f19d451932d6b263a7492d62fc0fbf1c79e3fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pete=20An=C3=B8ther?= Date: Tue, 5 Dec 2023 02:48:43 -0300 Subject: [PATCH] UBERF-4470: Make SetLabels action available on a single focused issue (#4140) Signed-off-by: Petr Vyazovetskiy --- models/tracker/src/actions.ts | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/models/tracker/src/actions.ts b/models/tracker/src/actions.ts index 8d789464bd..5ec5f55887 100644 --- a/models/tracker/src/actions.ts +++ b/models/tracker/src/actions.ts @@ -515,32 +515,6 @@ export function createActions (builder: Builder, issuesId: string, componentsId: tracker.action.SetMilestone ) - createAction( - builder, - { - action: view.actionImpl.ShowPopup, - actionProps: { - component: tags.component.TagsEditorPopup, - element: 'top', - fillProps: { - _object: 'object' - } - }, - label: tracker.string.Labels, - icon: tags.icon.Tags, - keyBinding: ['keyL'], - input: 'focus', - category: tracker.category.Tracker, - target: tracker.class.Issue, - context: { - mode: ['context', 'browser'], - application: tracker.app.Tracker, - group: 'edit' - } - }, - tracker.action.SetLabels - ) - createAction( builder, { @@ -555,7 +529,7 @@ export function createActions (builder: Builder, issuesId: string, componentsId: label: tracker.string.Labels, icon: tags.icon.Tags, keyBinding: ['keyL'], - input: 'selection', + input: 'any', category: tracker.category.Tracker, target: tracker.class.Issue, context: { @@ -593,6 +567,7 @@ export function createActions (builder: Builder, issuesId: string, componentsId: }, tracker.action.SetDueDate ) + createAction( builder, {