Skip to content

Commit 635dbcc

Browse files
Remove current workflow state if its done
1 parent 36e192b commit 635dbcc

File tree

1 file changed

+1
-1
lines changed
  • app/javascript/components/request-workflow-status

1 file changed

+1
-1
lines changed

app/javascript/components/request-workflow-status/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const workflowStatusData = (response) => {
8989
return undefined;
9090
}
9191
const rows = response.context ? rowData(response.context) : [];
92-
if (response.context && response.context.State) {
92+
if (response.context && response.context.State && !response.context.State.FinishedTime) {
9393
const state = response.context.State;
9494
const currentTime = new Date(); // Date Object for current time
9595
const oldTime = Date.parse(state.EnteredTime); // ms since start time to entered time in UTC

0 commit comments

Comments
 (0)