mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-13 10:24:20 +01:00
[PM-8379] Implement loading state in vault v2 (#10302)
This commit is contained in:
parent
271d65c953
commit
00f6920a86
@ -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>
|
||||||
|
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user