Skip to content

Commit 14edf50

Browse files
Akanksha13-devAkanksha	 Singh
andauthored
feat(core): emit updated actions groups to parent (#95)
Co-authored-by: Akanksha Singh <[email protected]>
1 parent 5f72393 commit 14edf50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/workflows-creator/src/lib/builder/builder.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ export class BuilderComponent<E> implements OnInit, OnChanges {
9191
@Output()
9292
stateChange = new EventEmitter<StateMap<RecordOfAnyType>>();
9393

94+
@Output()
95+
actionGroupsAdded = new EventEmitter<AbstractBaseGroup<E>[]>();
96+
9497
@Output()
9598
diagramChange = new EventEmitter<Object>();
9699

@@ -200,6 +203,7 @@ export class BuilderComponent<E> implements OnInit, OnChanges {
200203
action: action.node as WorkflowAction<E>,
201204
});
202205
});
206+
this.actionGroupsAdded.emit(this.actionGroups);
203207
this.hideElseBlockIfRequired();
204208
this.updateDiagram();
205209
}

0 commit comments

Comments
 (0)