Skip to content

Commit b4dbf9e

Browse files
entrypoint changed
1 parent 26d955f commit b4dbf9e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/compass-web/src/entrypoint.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
} from '@mongodb-js/compass-databases-collections';
4040
import {
4141
PreferencesProvider,
42-
ReadOnlyPreferenceAccess,
42+
CompassWebPreferencesAccess,
4343
} from 'compass-preferences-model/provider';
4444
import type { AllPreferences } from 'compass-preferences-model/provider';
4545
import 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
);

0 commit comments

Comments
 (0)