@@ -11,11 +11,11 @@ import React from 'react';
11
11
import appStyles from '../../../styles/app.module.css' ;
12
12
import healthStatusStyles from '../../../styles/health-status.module.css' ;
13
13
import tableStyles from '../../../styles/table.module.css' ;
14
- import { BackendSystemStatus , backendSystemType , healthStatus , SystemStatus } from '../../../xpanse-api/generated' ;
14
+ import { BackendSystemStatus , backendSystemType , healthStatus , StackStatus } from '../../../xpanse-api/generated' ;
15
15
import { healthCheckStatusErrorText } from '../../utils/constants.tsx' ;
16
16
import RetryPrompt from '../common/error/RetryPrompt.tsx' ;
17
17
import SystemStatusIcon from './SystemStatusIcon' ;
18
- import { useHealthCheckStatusQuery } from './useHealthCheckStatusQuery ' ;
18
+ import { useStackCheckStatusQuery } from './useStackStatusCheckQuery.ts ' ;
19
19
20
20
interface DataType {
21
21
key : React . Key ;
@@ -95,13 +95,13 @@ export default function HealthCheckStatus(): React.JSX.Element {
95
95
} ) ;
96
96
healthStatusFilters = filters ;
97
97
} ;
98
- const healthCheckQuery = useHealthCheckStatusQuery ( ) ;
98
+ const healthCheckQuery = useStackCheckStatusQuery ( ) ;
99
99
const refreshData = ( ) => {
100
100
void healthCheckQuery . refetch ( ) ;
101
101
} ;
102
102
103
103
if ( healthCheckQuery . isSuccess ) {
104
- const rsp : SystemStatus | undefined = healthCheckQuery . data ;
104
+ const rsp : StackStatus | undefined = healthCheckQuery . data ;
105
105
updateBackendSystemStatusList ( rsp . backendSystemStatuses ) ;
106
106
updateNameFilters ( rsp . backendSystemStatuses ) ;
107
107
updateBackendSystemTypeFilters ( rsp . backendSystemStatuses ) ;
0 commit comments