]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/users/user.service.ts
Merge branch 'release/3.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / core / users / user.service.ts
index 16ea8aa1a20a33bec15d2ca4dd291a00f231b9a4..33cc1f668d13138bdfb8412b1edc2d96e8fe4b69 100644 (file)
@@ -92,7 +92,7 @@ export class UserService {
 
     for (const [ key, value ] of obj) {
       try {
-        if (!value) {
+        if (value === undefined) {
           this.localStorageService.removeItem(key)
           continue
         }