We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d3e2a commit 9e09257Copy full SHA for 9e09257
src/frontend_react/src/pages/PlanPage.tsx
@@ -126,12 +126,14 @@ const PlanPage: React.FC = () => {
126
await PlanDataService.stepStatus(step, approve);
127
dismissToast(id);
128
showToast(`Step ${approve ? "approved" : "rejected"} successfully`, "success");
129
+
130
+ await loadPlanData(false);
131
if (total === completed) {
132
+ await loadPlanData(false); // second call hack?
133
setReloadLeftList(true);
134
} else {
135
setReloadLeftList(false);
136
}
- await loadPlanData(false);
137
} catch (error) {
138
139
showToast(`Failed to ${approve ? "approve" : "reject"} step`, "error");
0 commit comments