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';
6
6
import { TENANT_INITIAL_PAGE_KEY } from '../../../utils/constants' ;
7
7
import { api } from '../api' ;
8
8
9
- import { TENANT_METRICS_TABS_IDS } from './constants' ;
9
+ import { TENANT_DIAGNOSTICS_TABS_IDS , TENANT_METRICS_TABS_IDS } from './constants' ;
10
10
import { tenantPageSchema } from './types' ;
11
11
import type {
12
12
TenantDiagnosticsTab ,
@@ -24,6 +24,7 @@ const tenantPage = tenantPageSchema
24
24
export const initialState : TenantState = {
25
25
tenantPage,
26
26
metricsTab : TENANT_METRICS_TABS_IDS . cpu ,
27
+ diagnosticsTab : TENANT_DIAGNOSTICS_TABS_IDS . overview ,
27
28
} ;
28
29
29
30
const 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>;
29
29
export interface TenantState {
30
30
tenantPage : TenantPage ;
31
31
queryTab ?: TenantQueryTab ;
32
- diagnosticsTab ? : TenantDiagnosticsTab ;
32
+ diagnosticsTab : TenantDiagnosticsTab ;
33
33
summaryTab ?: TenantSummaryTab ;
34
34
metricsTab : TenantMetricsTab ;
35
35
}
You can’t perform that action at this time.
0 commit comments