1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

[AC-1139] Checking if FC feature flag is enabled when using canDeleteAssignedCollections or canViewAssignedCollections

This commit is contained in:
Rui Tome
2023-11-17 11:22:06 +00:00
parent 7ce712aa7c
commit 8e5dc600df
13 changed files with 133 additions and 37 deletions

View File

@@ -109,7 +109,10 @@
{{ "cancel" | i18n }}
</button>
<button
*ngIf="editMode && organization?.canDeleteAssignedCollections"
*ngIf="
editMode &&
((flexibleCollectionsEnabled$ | async) || organization?.canDeleteAssignedCollections)
"
type="button"
bitIconButton="bwi-trash"
buttonType="danger"