Fix updating boolean anonymous settings

pull/3787/head
Chocobozzz 2021-02-26 09:39:47 +01:00
parent 494df94036
commit cb2e36618c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ export class UserService {
for (const [ key, value ] of obj) { for (const [ key, value ] of obj) {
try { try {
if (!value) { if (value === undefined) {
this.localStorageService.removeItem(key) this.localStorageService.removeItem(key)
continue continue
} }