1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

switched to use viewonly to hide remove button

This commit is contained in:
gbubemismith 2024-06-12 10:58:21 -04:00
parent 077edd77c1
commit dbd854494f
No known key found for this signature in database

View File

@ -217,7 +217,7 @@
class="tw-items-center tw-border-none tw-bg-transparent tw-text-danger tw-ml-3"
appA11yTitle="{{ 'removePasskey' | i18n }}"
(click)="removePasskey()"
*ngIf="!cipher.isDeleted && !viewOnly && !(!cipher.edit && editMode)"
*ngIf="!cipher.isDeleted && !viewOnly"
>
<i class="bwi bwi-lg bwi-minus-circle"></i>
</button>
@ -405,7 +405,7 @@
class="btn btn-link text-danger ml-2"
(click)="removeUri(u)"
appA11yTitle="{{ 'remove' | i18n }}"
*ngIf="!cipher.isDeleted && !viewOnly && !(!cipher.edit && editMode)"
*ngIf="!cipher.isDeleted && !viewOnly"
>
<i class="bwi bwi-minus-circle bwi-lg" aria-hidden="true"></i>
</button>