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:
parent
99022e2baa
commit
88b18249da
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user