1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00

[CL-335][CL-336][CL-374] Announce toasts more consistently (#13167)

This commit is contained in:
Vicki League
2025-02-13 14:56:43 -05:00
committed by GitHub
parent 86ce9d3cc8
commit fabcf04398
10 changed files with 80 additions and 20 deletions

View File

@@ -35,9 +35,12 @@ import { DesktopSyncVerificationDialogComponent } from "./components/desktop-syn
selector: "app-root",
styles: [],
animations: [routerTransition],
template: ` <div [@routerTransition]="getRouteElevation(outlet)">
<router-outlet #outlet="outlet"></router-outlet>
</div>`,
template: `
<div [@routerTransition]="getRouteElevation(outlet)">
<router-outlet #outlet="outlet"></router-outlet>
</div>
<bit-toast-container></bit-toast-container>
`,
})
export class AppComponent implements OnInit, OnDestroy {
private viewCacheService = inject(PopupViewCacheService);

View File

@@ -89,6 +89,8 @@ const SyncInterval = 6 * 60 * 60 * 1000; // 6 hours
</div>
<router-outlet *ngIf="!loading"></router-outlet>
</div>
<bit-toast-container></bit-toast-container>
`,
})
export class AppComponent implements OnInit, OnDestroy {

View File

@@ -17,3 +17,5 @@
<ng-container *ngIf="!loading; else loadingState">
<router-outlet></router-outlet>
</ng-container>
<bit-toast-container></bit-toast-container>