diff --git a/src/lib/stores.js b/src/lib/stores.js index 583a339..6df6f81 100644 --- a/src/lib/stores.js +++ b/src/lib/stores.js @@ -8,7 +8,7 @@ export const urls = { register: "/register" } export const alerts = writable([]) -export const globals = writable({ +export const globalstore = writable({ server: { url: '', caps: { @@ -19,4 +19,4 @@ export const globals = writable({ } }); -export const sessionvars = localStorageStore('vars', [], {storage: 'session'}) \ No newline at end of file +export const sessionstore = localStorageStore('vars', [], {storage: 'session'}) \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f817c8d..3b0f32e 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -7,7 +7,7 @@ // Most of your app wide CSS should be put in this file import '../app.postcss'; - import {alerts, globals} from "$lib/stores.js"; + import {alerts, globalstore} from "$lib/stores.js"; import { autoModeWatcher } from '@skeletonlabs/skeleton'; let alertsvar; @@ -23,7 +23,7 @@ alerts.subscribe((value) => { alertsvar = value; }); - globals.subscribe(value => { + globalstore.subscribe(value => { globalvars = value; }); diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 0a76f4c..d3f82e4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,9 +1,9 @@ diff --git a/src/routes/account/+layout.svelte b/src/routes/account/+layout.svelte index bd64867..5686997 100644 --- a/src/routes/account/+layout.svelte +++ b/src/routes/account/+layout.svelte @@ -36,7 +36,7 @@ \ No newline at end of file diff --git a/src/routes/account/login/+page.svelte b/src/routes/account/login/+page.svelte index 1a42b02..16c56a5 100644 --- a/src/routes/account/login/+page.svelte +++ b/src/routes/account/login/+page.svelte @@ -8,11 +8,11 @@ \ No newline at end of file diff --git a/src/routes/account/login/Login.svelte b/src/routes/account/login/Login.svelte index 87c7328..bdc4cb2 100644 --- a/src/routes/account/login/Login.svelte +++ b/src/routes/account/login/Login.svelte @@ -28,8 +28,7 @@ \ No newline at end of file diff --git a/src/routes/account/login/Server.svelte b/src/routes/account/login/Server.svelte index f0c28ae..1595a37 100644 --- a/src/routes/account/login/Server.svelte +++ b/src/routes/account/login/Server.svelte @@ -16,21 +16,21 @@