[Account Switching] Fix options dropdowns being empty (#603)
* Fix dropdowns initially being empty * run prettier * Remove default nulls for locale and theme
This commit is contained in:
parent
2341b1907a
commit
172392ff3b
|
@ -355,8 +355,12 @@ export class StateService<TAccount extends Account = Account>
|
|||
|
||||
async getClearClipboard(options?: StorageOptions): Promise<number> {
|
||||
return (
|
||||
await this.getAccount(this.reconcileOptions(options, await this.defaultOnDiskLocalOptions()))
|
||||
)?.settings?.clearClipboard;
|
||||
(
|
||||
await this.getAccount(
|
||||
this.reconcileOptions(options, await this.defaultOnDiskLocalOptions())
|
||||
)
|
||||
)?.settings?.clearClipboard ?? null
|
||||
);
|
||||
}
|
||||
|
||||
async setClearClipboard(value: number, options?: StorageOptions): Promise<void> {
|
||||
|
|
Loading…
Reference in New Issue