mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
[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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user