From aa8530d67867860db52fa722b319a54cccff5426 Mon Sep 17 00:00:00 2001 From: Denis Bunakalya Date: Tue, 14 Feb 2023 21:26:53 +0300 Subject: [PATCH] Ignore delete action for app class (#2635) Signed-off-by: Denis Bunakalya --- models/workbench/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/models/workbench/src/index.ts b/models/workbench/src/index.ts index 3dae7993cb..a8d19860e6 100644 --- a/models/workbench/src/index.ts +++ b/models/workbench/src/index.ts @@ -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