diff --git a/models/task/src/index.ts b/models/task/src/index.ts index 47da9eb949..8786881a5b 100644 --- a/models/task/src/index.ts +++ b/models/task/src/index.ts @@ -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 + }) } diff --git a/models/view/src/index.ts b/models/view/src/index.ts index db9c71a998..8f5c85bf8c 100644 --- a/models/view/src/index.ts +++ b/models/view/src/index.ts @@ -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