mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
[fix] Various Trash filter bugs from EUVR (#1681)
* [fix] Hide the Add Item button when filtering for trash * [fix] Use correct bulk actions for trash filter
This commit is contained in:
@@ -32,19 +32,26 @@
|
|||||||
</small>
|
</small>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="ml-auto d-flex">
|
<div class="ml-auto d-flex">
|
||||||
<app-vault-bulk-actions [ciphersComponent]="ciphersComponent" [deleted]="deleted">
|
<app-vault-bulk-actions
|
||||||
|
[ciphersComponent]="ciphersComponent"
|
||||||
|
[deleted]="activeFilter.status === 'trash'"
|
||||||
|
>
|
||||||
</app-vault-bulk-actions>
|
</app-vault-bulk-actions>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-outline-primary btn-sm"
|
class="btn btn-outline-primary btn-sm"
|
||||||
(click)="addCipher()"
|
(click)="addCipher()"
|
||||||
*ngIf="!deleted"
|
*ngIf="activeFilter.status !== 'trash'"
|
||||||
>
|
>
|
||||||
<i class="bwi bwi-plus bwi-fw" aria-hidden="true"></i>{{ "addItem" | i18n }}
|
<i class="bwi bwi-plus bwi-fw" aria-hidden="true"></i>{{ "addItem" | i18n }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<app-callout type="warning" *ngIf="deleted" icon="bwi-exclamation-triangle">
|
<app-callout
|
||||||
|
type="warning"
|
||||||
|
*ngIf="activeFilter.status === 'trash'"
|
||||||
|
icon="bwi-exclamation-triangle"
|
||||||
|
>
|
||||||
{{ trashCleanupWarning }}
|
{{ trashCleanupWarning }}
|
||||||
</app-callout>
|
</app-callout>
|
||||||
<app-vault-ciphers
|
<app-vault-ciphers
|
||||||
|
|||||||
Reference in New Issue
Block a user