Skip to content

Commit 9280384

Browse files
committed
fix(Tenant): 3 tabs for indexes
1 parent 80d1bf7 commit 9280384

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/containers/Tenant/Diagnostics/DiagnosticsPages.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ export const TABLE_PAGES = [overview, topShards, graph, tablets, hotKeys, descri
7676

7777
export const DIR_PAGES = [overview, topShards, describe];
7878

79-
export const INDEX_PAGES = [overview];
80-
8179
export const getPagesByType = (type?: EPathType) => {
8280
switch (type) {
8381
case EPathType.EPathTypeColumnStore:
@@ -86,9 +84,8 @@ export const getPagesByType = (type?: EPathType) => {
8684
case EPathType.EPathTypeColumnTable:
8785
case EPathType.EPathTypeTable:
8886
return TABLE_PAGES;
89-
case EPathType.EPathTypeTableIndex:
90-
return INDEX_PAGES;
9187
case EPathType.EPathTypeDir:
88+
case EPathType.EPathTypeTableIndex:
9289
default:
9390
return DIR_PAGES;
9491
}

0 commit comments

Comments
 (0)