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
1 changed files with 2 additions and 2 deletions

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>