mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-23 20:13:20 +00:00
Ignore delete action for app class (#2635)
Signed-off-by: Denis Bunakalya <denis.bunakalya@xored.com>
This commit is contained in:
parent
b995a4dd0b
commit
aa8530d678
@ -51,6 +51,10 @@ export function createModel (builder: Builder): void {
|
||||
builder.mixin(workbench.class.Application, core.class.Class, view.mixin.ObjectPresenter, {
|
||||
presenter: workbench.component.ApplicationPresenter
|
||||
})
|
||||
|
||||
builder.mixin(workbench.class.Application, core.class.Class, view.mixin.IgnoreActions, {
|
||||
actions: [view.action.Delete]
|
||||
})
|
||||
}
|
||||
|
||||
export default workbench
|
||||
|
Loading…
Reference in New Issue
Block a user