Ignore delete action for app class (#2635)

Signed-off-by: Denis Bunakalya <denis.bunakalya@xored.com>
This commit is contained in:
Denis Bunakalya 2023-02-14 21:26:53 +03:00 committed by GitHub
parent b995a4dd0b
commit aa8530d678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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