mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-23 03:22:50 +02:00
[AC-2627] Empty Collection New Item Btn Permissions (#11089)
* only show new item btn in empty collection for can edit perm
This commit is contained in:
parent
d68853a4a2
commit
d0516f24e8
@ -81,7 +81,11 @@
|
|||||||
(click)="addCipher()"
|
(click)="addCipher()"
|
||||||
buttonType="primary"
|
buttonType="primary"
|
||||||
type="button"
|
type="button"
|
||||||
*ngIf="filter.type !== 'trash' && filter.collectionId !== Unassigned"
|
*ngIf="
|
||||||
|
filter.type !== 'trash' &&
|
||||||
|
filter.collectionId !== Unassigned &&
|
||||||
|
selectedCollection?.node?.canEditItems(organization)
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<i aria-hidden="true" class="bwi bwi-plus"></i> {{ "newItem" | i18n }}
|
<i aria-hidden="true" class="bwi bwi-plus"></i> {{ "newItem" | i18n }}
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user