1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-02 18:17:46 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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