mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
[PM-5680] Exclude provider orgs when opening the add collection dialog (#7519)
This commit is contained in:
parent
99022e2baa
commit
88b18249da
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user