1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

fix restore button (#14244)

This commit is contained in:
Brandon Treston
2025-04-16 11:04:31 -04:00
committed by GitHub
parent 9cffc3b4f4
commit 0d0314d16d

View File

@@ -656,7 +656,11 @@
class="primary"
(click)="restore()"
appA11yTitle="{{ 'restore' | i18n }}"
*ngIf="(limitItemDeletion$ | async) ? (canRestoreCipher$ | async) : cipher.isDeleted"
*ngIf="
(limitItemDeletion$ | async)
? (canRestoreCipher$ | async) && cipher.isDeleted
: cipher.isDeleted
"
>
<i class="bwi bwi-undo bwi-fw bwi-lg" aria-hidden="true"></i>
</button>