Skip to content

Commit 1d7cdf8

Browse files
add comment in function
1 parent 55d219d commit 1d7cdf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/compass-aggregations/src/components/stage-toolbar/stage-operator-select.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export const getStageDescription = (
6767
isPipelineSearchQueryable: boolean
6868
) => {
6969
if (isReadonlyView && isSearchStage(stage.name)) {
70+
// Users can create search indexes on views for de via atlas 8.0+ while compass requires 8.1+
7071
const minViewCompatibilityVersion = versionIncompatibleCompass
7172
? VIEW_PIPELINE_UTILS.MIN_VERSION_FOR_VIEW_SEARCH_COMPATIBILITY_COMPASS
7273
: VIEW_PIPELINE_UTILS.MIN_VERSION_FOR_VIEW_SEARCH_COMPATIBILITY_DE;

0 commit comments

Comments
 (0)