File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import {
3939} from '@mongodb-js/compass-databases-collections' ;
4040import {
4141 PreferencesProvider ,
42- ReadOnlyPreferenceAccess ,
42+ CompassWebPreferencesAccess ,
4343} from 'compass-preferences-model/provider' ;
4444import type { AllPreferences } from 'compass-preferences-model/provider' ;
4545import FieldStorePlugin from '@mongodb-js/compass-field-store' ;
@@ -260,7 +260,7 @@ const CompassWeb = ({
260260 } ) ;
261261
262262 const preferencesAccess = useRef (
263- new ReadOnlyPreferenceAccess ( {
263+ new CompassWebPreferencesAccess ( {
264264 maxTimeMS : 10_000 ,
265265 enableExplainPlan : true ,
266266 enableAggregationBuilderRunPipeline : true ,
@@ -277,6 +277,7 @@ const CompassWeb = ({
277277 enableShell : false ,
278278 enableCreatingNewConnections : false ,
279279 enableGlobalWrites : false ,
280+ optInDataExplorerGenAIFeatures : false ,
280281 ...initialPreferences ,
281282 } )
282283 ) ;
You can’t perform that action at this time.
0 commit comments