mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
switched to use viewonly to hide remove button
This commit is contained in:
@@ -217,7 +217,7 @@
|
|||||||
class="tw-items-center tw-border-none tw-bg-transparent tw-text-danger tw-ml-3"
|
class="tw-items-center tw-border-none tw-bg-transparent tw-text-danger tw-ml-3"
|
||||||
appA11yTitle="{{ 'removePasskey' | i18n }}"
|
appA11yTitle="{{ 'removePasskey' | i18n }}"
|
||||||
(click)="removePasskey()"
|
(click)="removePasskey()"
|
||||||
*ngIf="!cipher.isDeleted && !viewOnly && !(!cipher.edit && editMode)"
|
*ngIf="!cipher.isDeleted && !viewOnly"
|
||||||
>
|
>
|
||||||
<i class="bwi bwi-lg bwi-minus-circle"></i>
|
<i class="bwi bwi-lg bwi-minus-circle"></i>
|
||||||
</button>
|
</button>
|
||||||
@@ -405,7 +405,7 @@
|
|||||||
class="btn btn-link text-danger ml-2"
|
class="btn btn-link text-danger ml-2"
|
||||||
(click)="removeUri(u)"
|
(click)="removeUri(u)"
|
||||||
appA11yTitle="{{ 'remove' | i18n }}"
|
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>
|
<i class="bwi bwi-minus-circle bwi-lg" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user