Skip to content

Commit

Permalink
entrypoint changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchitharajaghatta committed Oct 31, 2024
1 parent 26d955f commit b4dbf9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/compass-web/src/entrypoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
} from '@mongodb-js/compass-databases-collections';
import {
PreferencesProvider,
ReadOnlyPreferenceAccess,
CompassWebPreferencesAccess,
} from 'compass-preferences-model/provider';
import type { AllPreferences } from 'compass-preferences-model/provider';
import FieldStorePlugin from '@mongodb-js/compass-field-store';
Expand Down Expand Up @@ -260,7 +260,7 @@ const CompassWeb = ({
});

const preferencesAccess = useRef(
new ReadOnlyPreferenceAccess({
new CompassWebPreferencesAccess({
maxTimeMS: 10_000,
enableExplainPlan: true,
enableAggregationBuilderRunPipeline: true,
Expand All @@ -277,6 +277,7 @@ const CompassWeb = ({
enableShell: false,
enableCreatingNewConnections: false,
enableGlobalWrites: false,
optInDataExplorerGenAIFeatures: false,
...initialPreferences,
})
);
Expand Down

0 comments on commit b4dbf9e

Please sign in to comment.