diff --git a/gui/dashboard/lib.js b/gui/dashboard/lib.js index c8be324..217a46e 100644 --- a/gui/dashboard/lib.js +++ b/gui/dashboard/lib.js @@ -12,10 +12,10 @@ function createSettingsStore() { const s = writable(defaults); function updateStorage(val) { - window.localStorage.setItem('statusdash', { + window.localStorage.setItem('statusdash', JSON.stringify({ ...defaults, ...JSON.stringify(val), - }); + })); s.set(val); }