diff options
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/core/users/user.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/users/user.service.ts b/client/src/app/core/users/user.service.ts index 16ea8aa1a..33cc1f668 100644 --- a/client/src/app/core/users/user.service.ts +++ b/client/src/app/core/users/user.service.ts | |||
@@ -92,7 +92,7 @@ export class UserService { | |||
92 | 92 | ||
93 | for (const [ key, value ] of obj) { | 93 | for (const [ key, value ] of obj) { |
94 | try { | 94 | try { |
95 | if (!value) { | 95 | if (value === undefined) { |
96 | this.localStorageService.removeItem(key) | 96 | this.localStorageService.removeItem(key) |
97 | continue | 97 | continue |
98 | } | 98 | } |