1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

[PM-5680] Exclude provider orgs when opening the add collection dialog (#7519)

This commit is contained in:
Shane Melton
2024-01-11 09:24:43 -08:00
committed by GitHub
parent 99022e2baa
commit 88b18249da

View File

@@ -649,7 +649,7 @@ export class VaultComponent implements OnInit, OnDestroy {
const dialog = openCollectionDialog(this.dialogService, {
data: {
organizationId: this.allOrganizations
.filter((o) => o.canCreateNewCollections)
.filter((o) => o.canCreateNewCollections && !o.isProviderUser)
.sort(Utils.getSortFunction(this.i18nService, "name"))[0].id,
parentCollectionId: this.filter.collectionId,
showOrgSelector: true,