mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
[PM-18524] Make the External ID in the Collection dialog conditional (#14096)
* [PM-18524] Make the external ID in the collection dialog conditional * [PM-18524] Update external ID in collection dialog to always be disabled * [PM-18524] Display ExternalID field only in Admin Console - Add isAdminConsoleActive flag to CollectionDialogParams - Update isExternalIdVisible$ observable to respect context - Set flag when dialog is opened from Admin Console routes * [PM-18524] Enable/disable External ID field based on feature flag
This commit is contained in:
@@ -1226,6 +1226,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
organizationId: this.organization?.id,
|
||||
parentCollectionId: this.selectedCollection?.node.id,
|
||||
limitNestedCollections: !this.organization.canEditAnyCollection,
|
||||
isAdminConsoleActive: true,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1251,6 +1252,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
readonly: readonly,
|
||||
isAddAccessCollection: c.unmanaged,
|
||||
limitNestedCollections: !this.organization.canEditAnyCollection,
|
||||
isAdminConsoleActive: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user