Skip to content

Commit

Permalink
fix(ui): refresh workflowrun in sidebar (#5127)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguiheux authored Apr 10, 2020
1 parent 4db705c commit 788e7f6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ui/src/app/store/workflow.state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1124,12 +1124,6 @@ export class WorkflowState {
@Action(actionWorkflow.GetWorkflowRun)
getWorkflowRun(ctx: StateContext<WorkflowStateModel>, action: actionWorkflow.GetWorkflowRun) {
const state = ctx.getState();
if (state.workflowRun &&
action.payload.num.toString() === state.workflowRun.num.toString() &&
action.payload.workflowName === state.workflow.name &&
action.payload.projectKey === state.projectKey) {
return;
}
ctx.setState({
...state,
loadingWorkflowRun: true,
Expand Down

0 comments on commit 788e7f6

Please sign in to comment.