mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-22 07:50:04 +02:00
fix forwarder display after navigation bug
This commit is contained in:
parent
9da8aa8a18
commit
2ecef518d8
@ -246,10 +246,14 @@ export class CredentialGeneratorComponent implements OnInit, OnDestroy {
|
|||||||
takeUntil(this.destroyed),
|
takeUntil(this.destroyed),
|
||||||
)
|
)
|
||||||
.subscribe((showForwarder) => {
|
.subscribe((showForwarder) => {
|
||||||
if (showForwarder) {
|
// update subjects within the angular zone so that the
|
||||||
this.value$.next("-");
|
// template bindings refresh immediately
|
||||||
}
|
this.zone.run(() => {
|
||||||
this.showForwarder$.next(showForwarder);
|
if (showForwarder) {
|
||||||
|
this.value$.next("-");
|
||||||
|
}
|
||||||
|
this.showForwarder$.next(showForwarder);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// populate the form with the user's preferences to kick off interactivity
|
// populate the form with the user's preferences to kick off interactivity
|
||||||
|
Loading…
Reference in New Issue
Block a user