UBERF-4470: Make SetLabels action available on a single focused issue (#4140)

Signed-off-by: Petr Vyazovetskiy <develop.pit@gmail.com>
This commit is contained in:
Pete Anøther 2023-12-05 02:48:43 -03:00 committed by GitHub
parent d2b1e64b65
commit 54f19d4519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
{