mirror of
https://github.com/koush/scrypted.git
synced 2026-02-13 18:32:56 +00:00
common: fix settings json deserialization
This commit is contained in:
@@ -58,7 +58,7 @@ export class StorageSettings<T extends string> implements Settings {
|
||||
if (s.hide)
|
||||
continue;
|
||||
s.key = key;
|
||||
s.value = this.device.storage.getItem(key);
|
||||
s.value = this.getItem(key as T);
|
||||
ret.push(s);
|
||||
delete s.onPut;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user