ignore invalid linear workflow sections that are after the current section

This commit is contained in:
alecmerdler 2017-02-22 16:33:34 -08:00 committed by Joseph Schorr
parent ff07533d80
commit ea9d47ba75
6 changed files with 42 additions and 12 deletions

View file

@ -23,7 +23,7 @@
<td>
<!-- Next sections -->
<div class="upcoming"
ng-if="$ctrl.currentSection.index != $ctrl.sections.length - 1">
ng-if="$ctrl.currentSection.index < $ctrl.sections.length - 1">
<b>Next:</b>
<ul>
<li ng-repeat="section in $ctrl.sections"