Skip to content

Commit

Permalink
fix: Mitigate shareable procedure flyout bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnesky committed Feb 22, 2025
1 parent fed7ee0 commit a37225a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/block-shareable-procedures/src/blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,10 @@ const procedureCallerUpdateShapeMixin = {
doProcedureUpdate: function () {
if (!this.getProcedureModel()) return;
const id = this.getProcedureModel().getId();
if (!this.getTargetWorkspace_().getProcedureMap().has(id)) {
if (
!this.getTargetWorkspace_().getProcedureMap().has(id) &&
!this.isInFlyout
) {
this.dispose(true);
return;
}
Expand Down

0 comments on commit a37225a

Please sign in to comment.