1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

[SM-589][SM-592] Remove router reuse hack (#4913)

* Remove router reuse hack

* Add AuthGuard

* Change to distinctUntilChanged

* Extract show logic
This commit is contained in:
Oscar Hinton
2023-03-03 15:28:59 +01:00
committed by GitHub
parent 2b95c786d8
commit 7736a981e7
6 changed files with 33 additions and 35 deletions

View File

@@ -3,7 +3,7 @@
</sm-header>
<div *ngIf="view$ | async as view; else spinner">
<sm-onboarding [title]="'getStarted' | i18n">
<sm-onboarding [title]="'getStarted' | i18n" *ngIf="showOnboarding" (dismiss)="hideOnboarding()">
<sm-onboarding-task
[title]="'createServiceAccount' | i18n"
(click)="openServiceAccountDialog()"