Skip to content

Commit 5871dc0

Browse files
committed
Cleanup naming
1 parent 8272719 commit 5871dc0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common/atlas/performanceAdvisorUtils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ export function formatDropIndexesTable(dropIndexSuggestions: {
283283
unusedIndexes: Array<DropIndexSuggestion>;
284284
}): string {
285285
const allIndexes = [
286-
...dropIndexSuggestions.hiddenIndexes.map((idx) => ({ ...idx, type: "Hidden" })),
287-
...dropIndexSuggestions.redundantIndexes.map((idx) => ({ ...idx, type: "Redundant" })),
288-
...dropIndexSuggestions.unusedIndexes.map((idx) => ({ ...idx, type: "Unused" })),
286+
...dropIndexSuggestions.hiddenIndexes.map((index) => ({ ...index, type: "Hidden" })),
287+
...dropIndexSuggestions.redundantIndexes.map((index) => ({ ...index, type: "Redundant" })),
288+
...dropIndexSuggestions.unusedIndexes.map((index) => ({ ...index, type: "Unused" })),
289289
];
290290

291291
if (allIndexes.length === 0) return "No drop index suggestions found.";

0 commit comments

Comments
 (0)