mirror of https://github.com/Chocobozzz/PeerTube
Fix updating boolean anonymous settings
parent
494df94036
commit
cb2e36618c
|
@ -92,7 +92,7 @@ export class UserService {
|
|||
|
||||
for (const [ key, value ] of obj) {
|
||||
try {
|
||||
if (!value) {
|
||||
if (value === undefined) {
|
||||
this.localStorageService.removeItem(key)
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue