mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Remove startWith to prevent log out toast warning from showing on page init (#12044)
This commit is contained in:
@@ -215,7 +215,6 @@ export class AccountSecurityComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
this.form.controls.vaultTimeoutAction.valueChanges
|
this.form.controls.vaultTimeoutAction.valueChanges
|
||||||
.pipe(
|
.pipe(
|
||||||
startWith(initialValues.vaultTimeoutAction), // emit to init pairwise
|
|
||||||
map(async (value) => {
|
map(async (value) => {
|
||||||
await this.saveVaultTimeoutAction(value);
|
await this.saveVaultTimeoutAction(value);
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user