mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
fixed load pending node status error in task detail page
This commit is contained in:
@@ -154,7 +154,9 @@ const actions = {
|
||||
const data = response.data.data
|
||||
commit('SET_TASK_FORM', data)
|
||||
dispatch('spider/getSpiderData', data.spider_id, { root: true })
|
||||
dispatch('node/getNodeData', data.node_id, { root: true })
|
||||
if (data.node_id && data.node_id !== '000000000000000000000000') {
|
||||
dispatch('node/getNodeData', data.node_id, { root: true })
|
||||
}
|
||||
})
|
||||
},
|
||||
getTaskList({ state, commit }) {
|
||||
|
||||
Reference in New Issue
Block a user