Skip to content

Commit

Permalink
Workflow progress safe results
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Feb 26, 2021
1 parent c5c137b commit fbfbfee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ProgressWorkflow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ const ProgressWorkflow = (props) => {
setIsToolbarOpen(!!hasToolbar);
// filter out paths that don't have workflow (home, login etc)
if (
workflowProgress.result &&
workflowProgress?.result &&
!workflowProgress.workflow?.error &&
Array.isArray(workflowProgress.result.steps)
Array.isArray(workflowProgress?.result?.steps)
) {
findCurrentState(
workflowProgress.result.steps,
Expand Down

0 comments on commit fbfbfee

Please sign in to comment.