mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-24 04:17:50 +00:00
TSK-81: Disable State delete action (#2076)
Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
parent
b047d98189
commit
71be3b9b7c
@ -441,6 +441,10 @@ export function createModel (builder: Builder): void {
|
||||
presenter: task.component.StatePresenter
|
||||
})
|
||||
|
||||
builder.mixin(task.class.State, core.class.Class, view.mixin.IgnoreActions, {
|
||||
actions: [view.action.Delete]
|
||||
})
|
||||
|
||||
builder.mixin(task.class.DoneState, core.class.Class, view.mixin.AttributeEditor, {
|
||||
editor: task.component.DoneStateEditor
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user