mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
[PM-12774] - don't display filters when no sends are available (#11298)
* don't display filters when no sends are available * move logic down. add conditional class * fix logic for send filters
This commit is contained in:
parent
256c6aef5c
commit
ab5a02f483
@ -10,7 +10,7 @@
|
||||
<bit-callout *ngIf="sendsDisabled" [title]="'sendDisabled' | i18n">
|
||||
{{ "sendDisabledWarning" | i18n }}
|
||||
</bit-callout>
|
||||
<ng-container *ngIf="!sendsDisabled">
|
||||
<ng-container *ngIf="listState !== sendState.Empty">
|
||||
<tools-send-search></tools-send-search>
|
||||
<app-send-list-filters></app-send-list-filters>
|
||||
</ng-container>
|
||||
|
@ -83,7 +83,7 @@ export class SendItemsService {
|
||||
);
|
||||
|
||||
/**
|
||||
* Observable that indicates whether the user's vault is empty.
|
||||
* Observable that indicates whether the user's send list is empty.
|
||||
*/
|
||||
emptyList$: Observable<boolean> = this._sendList$.pipe(map((sends) => !sends.length));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user