diff --git a/src/App.svelte b/src/App.svelte
index fda4dd5..97b6c76 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -20,8 +20,6 @@
}
let selected_masks = [];
- $: userTokenStore.set(token);
-
function dumpStores() {
console.log("appLanguageStore: ", $appLanguageStore);
console.log("easydbInstanceStore: ", $easydbInstanceStore);
@@ -182,7 +180,7 @@
-
+
diff --git a/src/components/EasyDBDetailView.svelte b/src/components/EasyDBDetailView.svelte
index b27a375..a249007 100644
--- a/src/components/EasyDBDetailView.svelte
+++ b/src/components/EasyDBDetailView.svelte
@@ -4,7 +4,7 @@
import '../app.pcss';
import { pregen_instance } from "../lib/easydbPregen";
- import { appLanguageStore, dataLanguagesStore, easydbInstanceStore, easydbInstanceDataStore, systemidStore, userGivenMasksToRenderStore } from "../lib/stores";
+ import { appLanguageStore, dataLanguagesStore, easydbInstanceStore, easydbInstanceDataStore, systemidStore, userGivenMasksToRenderStore, userTokenStore } from "../lib/stores";
import DetailViewImpl from "./logic/DetailViewImpl.svelte";
import Waiting from "./utils/Waiting.svelte";
@@ -15,12 +15,14 @@
export let easydbInstance = pregen_instance;
export let mask = "";
export let masksToRender = [];
+ export let token = "";
$: appLanguageStore.set(appLanguage);
$: dataLanguagesStore.set(dataLanguages);
$: easydbInstanceStore.set(easydbInstance);
$: userGivenMasksToRenderStore.set(masksToRender)
$: systemidStore.set([systemid]);
+ $: userTokenStore.set(token);
{#if !$easydbInstanceDataStore || ($easydbInstanceDataStore.instance !== easydbInstance) }