mirror of
https://github.com/smartyellow/status.git
synced 2025-01-18 05:27:58 +00:00
Stringify dashboard settings
This commit is contained in:
parent
dbe3648545
commit
ba0687af94
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user