Skip to content

Commit a37225a

Browse files
committed
fix: Mitigate shareable procedure flyout bug.
1 parent fed7ee0 commit a37225a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • plugins/block-shareable-procedures/src

plugins/block-shareable-procedures/src/blocks.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,10 @@ const procedureCallerUpdateShapeMixin = {
10681068
doProcedureUpdate: function () {
10691069
if (!this.getProcedureModel()) return;
10701070
const id = this.getProcedureModel().getId();
1071-
if (!this.getTargetWorkspace_().getProcedureMap().has(id)) {
1071+
if (
1072+
!this.getTargetWorkspace_().getProcedureMap().has(id) &&
1073+
!this.isInFlyout
1074+
) {
10721075
this.dispose(true);
10731076
return;
10741077
}

0 commit comments

Comments
 (0)