1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

[PM-8379] Implement loading state in vault v2 (#10302)

This commit is contained in:
Shane Melton
2024-07-29 08:10:12 -07:00
committed by GitHub
parent 271d65c953
commit 00f6920a86
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
<popup-page>
<popup-page [loading]="loading$ | async">
<popup-header slot="header" [pageTitle]="'vault' | i18n">
<ng-container slot="end">
<app-new-item-dropdown [initialValues]="newItemItemValues$ | async"></app-new-item-dropdown>

View File

@@ -54,6 +54,7 @@ export class VaultV2Component implements OnInit, OnDestroy {
cipherType = CipherType;
protected favoriteCiphers$ = this.vaultPopupItemsService.favoriteCiphers$;
protected remainingCiphers$ = this.vaultPopupItemsService.remainingCiphers$;
protected loading$ = this.vaultPopupItemsService.loading$;
protected newItemItemValues$: Observable<NewItemInitialValues> =
this.vaultPopupListFiltersService.filters$.pipe(