Skip to content

Commit

Permalink
Merge pull request #12 from uteq/fix-missing-sidebar-for-steps
Browse files Browse the repository at this point in the history
Adds the sidebar back for whenever the steps are complete
  • Loading branch information
nathanjansen committed Mar 1, 2021
2 parents 639c9da + be2dd5b commit b661c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/WithSteps.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function allStepsAvailable()
{
$steps = $this->steps();

$count = $steps->filter(fn ($step) => in_array($step->name, $this->availableSteps))->count();
$count = $steps->filter(fn ($step) => in_array($step->attribute, $this->availableSteps))->count();

return $count == $steps->count();
}
Expand Down

0 comments on commit b661c9a

Please sign in to comment.