From a527cb8222a2ff80dae38ebae7dc5ea0979d74c5 Mon Sep 17 00:00:00 2001 From: Faton Ramadani Date: Fri, 24 Mar 2023 17:30:04 +0100 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20add=20a=20modal=20that=20is=20?= =?UTF-8?q?always=20mounted=20to=20make=20sure=20compon=E2=80=A6=20(#1328)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(frontend): add a modal that is always mounted to make sure component binding are properly set * fix(frontend): remove uselss open prop --- .../components/buttons/AppFormButton.svelte | 135 ++++++++---------- .../common/modal/AlwaysMountedModal.svelte | 122 ++++++++++++++++ 2 files changed, 184 insertions(+), 73 deletions(-) create mode 100644 frontend/src/lib/components/common/modal/AlwaysMountedModal.svelte diff --git a/frontend/src/lib/components/apps/components/buttons/AppFormButton.svelte b/frontend/src/lib/components/apps/components/buttons/AppFormButton.svelte index b7accfffa3..4932efe1f5 100644 --- a/frontend/src/lib/components/apps/components/buttons/AppFormButton.svelte +++ b/frontend/src/lib/components/apps/components/buttons/AppFormButton.svelte @@ -1,21 +1,21 @@ + + + + +
close()}> + +
{}}> +
+
+
+

+ {title} +

+
+ +
+
+
+
+ +
+
+
+
+ +