Skip to content

Commit 14d1e07

Browse files
committed
fix(Tenant): properly display ColumnTables
1 parent 6ca1d60 commit 14d1e07

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/containers/Tenant/Diagnostics/Overview/Overview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function Overview(props: OverviewProps) {
9595
}, [autorefresh]);
9696

9797
const tableSchema =
98-
currentItem?.PathDescription?.Table || currentItem?.PathDescription?.OlapTableDescription;
98+
currentItem?.PathDescription?.Table || currentItem?.PathDescription?.ColumnTableDescription;
9999

100100
const schemaData = useMemo(() => {
101101
return props.type === OLAP_TABLE_TYPE

src/containers/Tenant/ObjectSummary/ObjectSummary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function ObjectSummary(props: ObjectSummaryProps) {
102102
const currentSchemaData = _.get(data[currentSchemaPath], 'PathDescription.Self');
103103

104104
const tableSchema =
105-
currentItem?.PathDescription?.Table || currentItem?.PathDescription?.OlapTableDescription;
105+
currentItem?.PathDescription?.Table || currentItem?.PathDescription?.ColumnTableDescription;
106106

107107
const schema =
108108
props.type === OLAP_TABLE_TYPE ? prepareOlapTableSchema(tableSchema) : tableSchema;

src/containers/Tenant/Tenant.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import './Tenant.scss';
2828
const b = cn('tenant-page');
2929

3030
export const TABLE_TYPE = 'Table';
31-
export const OLAP_TABLE_TYPE = 'OlapTable';
32-
export const OLAP_STORE_TYPE = 'OlapStore';
31+
export const OLAP_TABLE_TYPE = 'ColumnTable';
32+
export const OLAP_STORE_TYPE = 'ColumnStore';
3333

3434
export function calcEntityType(currentPathType?: string) {
3535
return currentPathType && currentPathType.replace('EPathType', '');

0 commit comments

Comments
 (0)