Webclient: Stringify config object values

This commit is contained in:
Jordan Irwin 2023-02-07 16:28:44 -08:00
parent b263497eac
commit 17a73d9d93

View file

@ -136,6 +136,9 @@ export class ConfigManager {
* Item to be stored.
*/
set(key: string, value: any) {
if (typeof(value) === "object") {
value = JSON.stringify(value);
}
this.storage.setItem(key, value);
}