Skip to content

Commit

Permalink
disable add node for detached nodes (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek authored Dec 5, 2023
1 parent e6bf4a4 commit 076f310
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class MmpService implements OnDestroy {
const parent = !properties?.detached ? this.selectNode() : null;

// detached nodes are not available as parent
if (parent?.detached) {
if (this.selectNode()?.detached) {
return;
}

Expand Down

0 comments on commit 076f310

Please sign in to comment.