Browse Source

Merge pull request 'comment error response' (#13) from dev-wahyun into staging

Reviewed-on: ibnu/generic-ospro-frontend#13
pull/1/head
farhantock 12 months ago
parent
commit
fb8d76f730
  1. 4
      src/views/Dashboard/DashboardBOD.js

4
src/views/Dashboard/DashboardBOD.js

@ -132,7 +132,7 @@ const DashboardBOD = (props) => {
} }
if (result.status !== 200) { if (result.status !== 200) {
NotificationManager.error(`${content} ${result.data.message}`, "Failed"); // NotificationManager.error(`${content} ${result.data.message}`, "Failed");
SET_READY_PROJECT_BY_SCHEDULE_HEALTH(true) SET_READY_PROJECT_BY_SCHEDULE_HEALTH(true)
return; return;
} }
@ -203,7 +203,7 @@ const DashboardBOD = (props) => {
} }
if (result.status !== 200) { if (result.status !== 200) {
NotificationManager.error(`${content} ${result.data.message}`, "Failed"); // NotificationManager.error(`${content} ${result.data.message}`, "Failed");
SET_READY_PROJECT_SCHEDULE_BUDGET_HEALTH_PER_DIVISION(true); SET_READY_PROJECT_SCHEDULE_BUDGET_HEALTH_PER_DIVISION(true);
return; return;
} }

Loading…
Cancel
Save