Skip to content

Commit a06bc5a

Browse files
committed
fix: lint
1 parent 66e016f commit a06bc5a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/containers/Tenant/Diagnostics/DiagnosticsPages.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const pathTypeToPages: Record<EPathType, Page[] | undefined> = {
133133
[EPathType.EPathTypeView]: VIEW_PAGES,
134134

135135
[EPathType.EPathTypeReplication]: ASYNC_REPLICATION_PAGES,
136+
[EPathType.EPathTypeResourcePool]: DIR_PAGES,
136137
};
137138

138139
export const getPagesByType = (type?: EPathType) => (type && pathTypeToPages[type]) || DIR_PAGES;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function Overview({type, path, database}: OverviewProps) {
6666
const pathTypeToComponent: Record<EPathType, (() => React.ReactNode) | undefined> = {
6767
[EPathType.EPathTypeInvalid]: undefined,
6868
[EPathType.EPathTypeDir]: undefined,
69+
[EPathType.EPathTypeResourcePool]: undefined,
6970
[EPathType.EPathTypeTable]: undefined,
7071
[EPathType.EPathTypeSubDomain]: undefined,
7172
[EPathType.EPathTypeTableIndex]: () => <TableIndexInfo data={data} />,

src/containers/Tenant/ObjectSummary/ObjectSummary.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ export function ObjectSummary({
221221
> = {
222222
[EPathType.EPathTypeInvalid]: undefined,
223223
[EPathType.EPathTypeDir]: undefined,
224+
[EPathType.EPathTypeResourcePool]: undefined,
224225
[EPathType.EPathTypeTable]: () => [
225226
{
226227
name: i18n('field_partitions'),

0 commit comments

Comments
 (0)