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:
parent
077edd77c1
commit
dbd854494f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user