Skip to content

Commit b8c7612

Browse files
committed
fix: revert the order change (emit only at the very end)
Signed-off-by: Louis Greiner <greiner.louis@gmail.com>
1 parent 35d79c2 commit b8c7612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/view/editor-side-view/editor-node-detail-view/editor-node-detail-view.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ export class EditorNodeDetailViewComponent implements OnInit, OnDestroy {
172172
.showConfirmationDiagramDialog(confirmationDialogParameter)
173173
.subscribe((confirmed: boolean) => {
174174
if (confirmed) {
175-
this.nodeDeleted.emit();
176175
this.nodeService.deleteNode(node.getId());
176+
this.nodeDeleted.emit();
177177
}
178178
});
179179
}

0 commit comments

Comments
 (0)