Skip to content

Commit 788e7f6

Browse files
authored
fix(ui): refresh workflowrun in sidebar (#5127)
1 parent 4db705c commit 788e7f6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ui/src/app/store/workflow.state.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,12 +1124,6 @@ export class WorkflowState {
11241124
@Action(actionWorkflow.GetWorkflowRun)
11251125
getWorkflowRun(ctx: StateContext<WorkflowStateModel>, action: actionWorkflow.GetWorkflowRun) {
11261126
const state = ctx.getState();
1127-
if (state.workflowRun &&
1128-
action.payload.num.toString() === state.workflowRun.num.toString() &&
1129-
action.payload.workflowName === state.workflow.name &&
1130-
action.payload.projectKey === state.projectKey) {
1131-
return;
1132-
}
11331127
ctx.setState({
11341128
...state,
11351129
loadingWorkflowRun: true,

0 commit comments

Comments
 (0)