Skip to content

Commit

Permalink
#907 - Dismiss two popups when auto-saving
Browse files Browse the repository at this point in the history
  • Loading branch information
graphefruit committed Feb 18, 2025
1 parent 1d4c8b1 commit 4ca6741
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/components/brews/brew-brewing/brew-brewing.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,21 @@ export class BrewBrewingComponent implements OnInit, AfterViewInit {
this.eventQueue.dispatch(
new AppEvent(AppEventType.BREW_AUTOMATIC_SAVE, undefined),
);

setTimeout(() => {
try {
this.modalController.dismiss(
null,
null,
BrewFlowComponent.COMPONENT_ID,
);
this.modalController.dismiss(
null,
null,
BrewMaximizeControlsComponent.COMPONENT_ID,
);
} catch (ex) {}
}, 250);
}
}
}
Expand Down

0 comments on commit 4ca6741

Please sign in to comment.