diff --git a/frontend/crawlab-ui/src/views/node/list/useNodeList.tsx b/frontend/crawlab-ui/src/views/node/list/useNodeList.tsx index 128d6130..321bd400 100644 --- a/frontend/crawlab-ui/src/views/node/list/useNodeList.tsx +++ b/frontend/crawlab-ui/src/views/node/list/useNodeList.tsx @@ -303,7 +303,7 @@ const useNodeList = () => { icon: ['fa', 'chart-line'], width: '240', value: (row: Node) => { - if (!row._id) return; + if (!row._id || !state.nodeMetricsMap) return; const currentMetrics = state.nodeMetricsMap[row._id]; return ( { const opts = getDefaultUseListOptions(navActions, tableColumns); // init - setupListComponent(ns, store, []); + setupListComponent(ns, store, true); if (isPro()) { onBeforeMount(() => store.dispatch(`${ns}/getNodeMetrics`));