Move actions only for Tasks

Closes #859

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2022-01-25 15:50:38 +07:00
parent e848480ef3
commit c0a7c722f4
No known key found for this signature in database
GPG Key ID: BD80F68D68D8F7F2
2 changed files with 5 additions and 5 deletions

View File

@ -510,4 +510,9 @@ export function createModel (builder: Builder): void {
label: task.string.SearchTask,
query: task.completion.IssueQuery
}, task.completion.IssueCategory)
builder.createDoc(view.class.ActionTarget, core.space.Model, {
target: task.class.Task,
action: view.action.Move
})
}

View File

@ -175,11 +175,6 @@ export function createModel (builder: Builder): void {
},
view.action.Move
)
builder.createDoc(view.class.ActionTarget, core.space.Model, {
target: core.class.Doc,
action: view.action.Move
})
}
export default view