Skip to content

Commit 9673b92

Browse files
authored
[ITEP-17280] - add polling to workload column (#59)
1 parent 7c8219f commit 9673b92

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

apps/infra/src/components/atom/ClusterNameAssociatedToHost/ClusterNameAssociatedToHost.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
*/
55

66
import { eim } from "@orch-ui/apis";
7-
import { SharedStorage, WorkloadMemberKind } from "@orch-ui/utils";
7+
import {
8+
API_INTERVAL,
9+
SharedStorage,
10+
WorkloadMemberKind,
11+
} from "@orch-ui/utils";
812
import { Link } from "react-router-dom";
913
interface ClusterNameAssociatedToHostProps {
1014
host: eim.HostRead;
@@ -22,7 +26,7 @@ const ClusterNameAssociatedToHost = ({
2226
projectName,
2327
instanceId,
2428
},
25-
{ skip: !instanceId },
29+
{ skip: !instanceId, pollingInterval: API_INTERVAL },
2630
);
2731

2832
const workloadMember = data?.workloadMembers?.find(

0 commit comments

Comments
 (0)