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) {
|
for (const [ key, value ] of obj) {
|
||||||
try {
|
try {
|
||||||
if (!value) {
|
if (value === undefined) {
|
||||||
this.localStorageService.removeItem(key)
|
this.localStorageService.removeItem(key)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue