summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/lib/state/local/channels.svelte.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/state/local/channels.svelte.js b/ui/lib/state/local/channels.svelte.js
index 9040685..7ec63c7 100644
--- a/ui/lib/state/local/channels.svelte.js
+++ b/ui/lib/state/local/channels.svelte.js
@@ -41,7 +41,7 @@ export class Channels {
static fromLocalStorage() {
const stored = localStorage.getItem(STORE_KEY_CHANNELS_DATA);
if (stored !== null) {
- return Channels.fromStored(stored);
+ return Channels.fromStored(JSON.parse(stored));
}
return Channels.empty();
}