diff --git a/src/App.svelte b/src/App.svelte index 1783cac..9181929 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -25,7 +25,7 @@ let myip = document.location.hostname; let showInput = false; - let showModal = false; + let showModalFlag = false; //dashboard let wigets = []; @@ -526,6 +526,10 @@ //}); } + function showModal() { + showModalFlag = !showModalFlag; + } + //initialisation======================================================================================= onMount(async () => { console.log("[i]", "mounted"); @@ -538,6 +542,7 @@
+
@@ -705,9 +710,7 @@ - - - +
diff --git a/src/components/Modal.svelte b/src/components/Modal.svelte index be8173f..a7128ea 100644 --- a/src/components/Modal.svelte +++ b/src/components/Modal.svelte @@ -1,5 +1,7 @@