1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02:00

Fix autoFillOnPageLoadDefault default value (#697)

This commit is contained in:
Thomas Rittson 2022-03-01 13:13:19 +10:00 committed by GitHub
parent a69135ce06
commit d919346517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,7 +231,7 @@ export class StateService<
async getAutoFillOnPageLoadDefault(options?: StorageOptions): Promise<boolean> { async getAutoFillOnPageLoadDefault(options?: StorageOptions): Promise<boolean> {
return ( return (
(await this.getAccount(this.reconcileOptions(options, await this.defaultOnDiskOptions()))) (await this.getAccount(this.reconcileOptions(options, await this.defaultOnDiskOptions())))
?.settings?.autoFillOnPageLoadDefault ?? false ?.settings?.autoFillOnPageLoadDefault ?? true
); );
} }