From 403e3ff39d0b13be65a5b42b7570c8a6b59eb6b7 Mon Sep 17 00:00:00 2001 From: Zach Teutsch <88554871+zateutsch@users.noreply.github.com> Date: Tue, 19 Dec 2023 13:11:08 -0800 Subject: [PATCH] dismiss messages when package modal is closed --- apps/pwabuilder/src/script/components/publish-pane.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/pwabuilder/src/script/components/publish-pane.ts b/apps/pwabuilder/src/script/components/publish-pane.ts index 62a92edad..f768f5bb7 100644 --- a/apps/pwabuilder/src/script/components/publish-pane.ts +++ b/apps/pwabuilder/src/script/components/publish-pane.ts @@ -955,6 +955,7 @@ export class PublishPane extends LitElement { if(e.target === dialog){ this.blob = undefined; this.generating = false; + this.feedbackMessages = []; await dialog!.hide(); recordPWABuilderProcessStep("publish_pane_closed", AnalyticsBehavior.ProcessCheckpoint); document.body.style.height = "unset"; @@ -1049,7 +1050,7 @@ export class PublishPane extends LitElement { class=${classMap({noX: this.preventClosing, dialog: true})} @sl-hide=${(e: any) => this.hideDialog(e)} @sl-request-close=${(e:any) => this.handleRequestClose(e)} - noHeader + noHeader >