|
|
|
@ -244,8 +244,10 @@ const DashboardBOD = () => {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (result.status == 200 && result.data.data) { |
|
|
|
|
SET_PROJECT_PER_DIVISION(result.data.data); |
|
|
|
|
if (result.status == 200 && result.data.data) { |
|
|
|
|
let dataRes = result.data.data; |
|
|
|
|
const filteredData = dataRes.filter(item => item.parent === null); |
|
|
|
|
SET_PROJECT_PER_DIVISION(filteredData); |
|
|
|
|
} |
|
|
|
|
SET_READY_PROJECT_PER_DIVISION(true); |
|
|
|
|
} |
|
|
|
|