Remove `startWith` to prevent log out toast warning from showing on page init (#12044)
This commit is contained in:
parent
9e15f7dc29
commit
e073c47c17
|
@ -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);
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue