[ACS-8604] Add new param to control undo for deleting nodes (#4308)

* [ACS-8604] Add new param to control undo for deleting nodes

* [ACS-8604] Unit test fixes
This commit is contained in:
MichalKinas
2024-12-19 10:18:56 +01:00
committed by GitHub
parent 53a1b2c5cb
commit 65763df7ef
4 changed files with 9 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ export class SetSelectedNodesAction implements Action {
export class DeleteNodesAction implements Action {
readonly type = NodeActionTypes.Delete;
constructor(public payload: NodeEntry[] = []) {}
constructor(public payload: NodeEntry[] = [], public allowUndo = true) {}
}
export class UndoDeleteNodesAction implements Action {