mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 15:35:12 +00:00
Convert symbols to strings explicitly (#12844)
This commit is contained in:
parent
30594dde18
commit
c0466d1585
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ export class Storage<T extends StateDef> {
|
||||||
this.reactiveState[key].value = this.state[key] = rawValue;
|
this.reactiveState[key].value = this.state[key] = rawValue;
|
||||||
|
|
||||||
return this.addIdbSetJob(async () => {
|
return this.addIdbSetJob(async () => {
|
||||||
if (_DEV_) console.log(`set ${key} start`);
|
if (_DEV_) console.log(`set ${String(key)} start`);
|
||||||
switch (this.def[key].where) {
|
switch (this.def[key].where) {
|
||||||
case 'device': {
|
case 'device': {
|
||||||
this.pizzaxChannel.postMessage({
|
this.pizzaxChannel.postMessage({
|
||||||
|
@ -207,7 +207,7 @@ export class Storage<T extends StateDef> {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_DEV_) console.log(`set ${key} complete`);
|
if (_DEV_) console.log(`set ${String(key)} complete`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue