File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/compass-collection/src/stores Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,9 @@ export function activatePlugin(
107107 void collectionModel . fetchMetadata ( { dataService } ) . then ( ( metadata ) => {
108108 store . dispatch ( collectionMetadataFetched ( metadata ) ) ;
109109
110- // Assign experiment for Mock Data Generator:
111- // Only assign when experimentationServices.assignExperiment is initialized,
112- // we're connected to Atlas,
113- // and the org-level setting for AI features is enabled
110+ // Assign experiment for Mock Data Generator
111+ // Only assign when we're connected to Atlas and the org-level setting for AI features is enabled
114112 if (
115- experimentationServices ?. assignExperiment && // Ensures experimentation services are available
116113 connectionInfoRef . current ?. atlasMetadata ?. clusterName && // Ensures we only assign in Atlas
117114 isAIFeatureEnabled ( preferences . getPreferences ( ) ) // Ensures org-level AI features setting is enabled
118115 ) {
You can’t perform that action at this time.
0 commit comments