mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix updating boolean anonymous settings
This commit is contained in:
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
Block a user