File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/store/reducers/tenant Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import type {TTenantInfo} from '../../../types/api/tenant';
66import { TENANT_INITIAL_PAGE_KEY } from '../../../utils/constants' ;
77import { api } from '../api' ;
88
9- import { TENANT_METRICS_TABS_IDS } from './constants' ;
9+ import { TENANT_DIAGNOSTICS_TABS_IDS , TENANT_METRICS_TABS_IDS } from './constants' ;
1010import { tenantPageSchema } from './types' ;
1111import type {
1212 TenantDiagnosticsTab ,
@@ -24,6 +24,7 @@ const tenantPage = tenantPageSchema
2424export const initialState : TenantState = {
2525 tenantPage,
2626 metricsTab : TENANT_METRICS_TABS_IDS . cpu ,
27+ diagnosticsTab : TENANT_DIAGNOSTICS_TABS_IDS . overview ,
2728} ;
2829
2930const slice = createSlice ( {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export type TenantNetworkTab = ValueOf<typeof TENANT_NETWORK_TABS_IDS>;
2929export interface TenantState {
3030 tenantPage : TenantPage ;
3131 queryTab ?: TenantQueryTab ;
32- diagnosticsTab ? : TenantDiagnosticsTab ;
32+ diagnosticsTab : TenantDiagnosticsTab ;
3333 summaryTab ?: TenantSummaryTab ;
3434 metricsTab : TenantMetricsTab ;
3535}
You can’t perform that action at this time.
0 commit comments