We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b976d3 commit fbbb21fCopy full SHA for fbbb21f
packages/compass-indexes/src/components/indexes/indexes.tsx
@@ -207,16 +207,16 @@ export function Indexes({
207
atlasMetadata={atlasMetadata}
208
/>
209
)}
210
- {!enableAtlasSearchIndexes ||
211
- (mongoDBMajorVersion > 8.0 && (
+ {(!isReadonlyView || mongoDBMajorVersion >= 8.0) &&
+ !enableAtlasSearchIndexes && (
212
<AtlasIndexesBanner
213
namespace={namespace}
214
dismissed={atlasBannerDismissed}
215
onDismissClick={() => {
216
setDismissed(true);
217
}}
218
219
- ))}
+ )}
220
{!isReadonlyView && currentIndexesView === 'regular-indexes' && (
221
<RegularIndexesTable />
222
0 commit comments