Merge pull request #869 from hcengineering/fix-859

Move actions only for Tasks
This commit is contained in:
Andrey Sobolev 2022-01-26 16:02:30 +07:00 committed by GitHub
commit 0424929f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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