Properly serialize boolean

Signed-off-by: Andrey Kuzmin <andrey.kuzmin@soundcloud.com>
This commit is contained in:
Andrey Kuzmin 2019-05-11 20:16:28 +02:00
parent 20c336fe22
commit 658dd3a29f
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
localStorage.setItem('defaultCreator', name);
});
app.ports.persistGroupExpandAll.subscribe(function(expanded) {
localStorage.setItem('groupExpandAll', expanded);
localStorage.setItem('groupExpandAll', JSON.stringify(expanded));
});
</script>
</body>