mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 20:57:45 +02:00
@@ -404,22 +404,6 @@ export function createModel (builder: Builder): void {
|
||||
}
|
||||
})
|
||||
|
||||
builder.createDoc(view.class.ActionTarget, core.space.Model, {
|
||||
target: task.class.SpaceWithStates,
|
||||
action: task.action.ArchiveSpace,
|
||||
query: {
|
||||
archived: false
|
||||
}
|
||||
})
|
||||
|
||||
builder.createDoc(view.class.ActionTarget, core.space.Model, {
|
||||
target: task.class.SpaceWithStates,
|
||||
action: task.action.UnarchiveSpace,
|
||||
query: {
|
||||
archived: true
|
||||
}
|
||||
})
|
||||
|
||||
builder.mixin(task.class.State, core.class.Class, view.mixin.AttributeEditor, {
|
||||
editor: task.component.StateEditor
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user