mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
[PM-25941] - only limit item creation when not allowed by a collection (#16485)
* only limit item creation when not allowed by a collection * simplify logic * fix logic
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
filter &&
|
||||
filter.type !== "trash" &&
|
||||
filter.collectionId !== Unassigned &&
|
||||
selectedCollection?.node?.canEditItems(organization)
|
||||
(!selectedCollection || selectedCollection.node?.canEditItems(organization))
|
||||
) {
|
||||
<button
|
||||
slot="button"
|
||||
|
||||
Reference in New Issue
Block a user