From b93fa332d30cdb66810207443f1a1c2397484afc Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 21 Aug 2025 12:49:03 +0300 Subject: [PATCH] fix(client): please wait for save showing up multiple times --- apps/client/src/components/app_context.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/client/src/components/app_context.ts b/apps/client/src/components/app_context.ts index 4c750a544..80af6adf7 100644 --- a/apps/client/src/components/app_context.ts +++ b/apps/client/src/components/app_context.ts @@ -676,14 +676,12 @@ $(window).on("beforeunload", () => { if (!component.beforeUnloadEvent()) { console.log(`Component ${component.componentId} is not finished saving its state.`); - - toast.showMessage(t("app_context.please_wait_for_save"), 10000); - allSaved = false; } } if (!allSaved) { + toast.showMessage(t("app_context.please_wait_for_save"), 10000); return "some string"; } });