1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-14 10:26:19 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"> <popup-header slot="header" [pageTitle]="'vault' | i18n">
<ng-container slot="end"> <ng-container slot="end">
<app-new-item-dropdown [initialValues]="newItemItemValues$ | async"></app-new-item-dropdown> <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; cipherType = CipherType;
protected favoriteCiphers$ = this.vaultPopupItemsService.favoriteCiphers$; protected favoriteCiphers$ = this.vaultPopupItemsService.favoriteCiphers$;
protected remainingCiphers$ = this.vaultPopupItemsService.remainingCiphers$; protected remainingCiphers$ = this.vaultPopupItemsService.remainingCiphers$;
protected loading$ = this.vaultPopupItemsService.loading$;
protected newItemItemValues$: Observable<NewItemInitialValues> = protected newItemItemValues$: Observable<NewItemInitialValues> =
this.vaultPopupListFiltersService.filters$.pipe( this.vaultPopupListFiltersService.filters$.pipe(