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),
|
||||
)
|
||||
.subscribe((showForwarder) => {
|
||||
if (showForwarder) {
|
||||
this.value$.next("-");
|
||||
}
|
||||
this.showForwarder$.next(showForwarder);
|
||||
// update subjects within the angular zone so that the
|
||||
// template bindings refresh immediately
|
||||
this.zone.run(() => {
|
||||
if (showForwarder) {
|
||||
this.value$.next("-");
|
||||
}
|
||||
this.showForwarder$.next(showForwarder);
|
||||
});
|
||||
});
|
||||
|
||||
// populate the form with the user's preferences to kick off interactivity
|
||||
|
Loading…
Reference in New Issue
Block a user