Workflow uses parameter "viewModel.ready" to do the repetitive work.
In workflow module, every item in navigation used 'ng-show="viewModel.ready"' to determine whether it should be display, it makes no sense to do so, and should replace with the item parameter "step.ready" to control itself show or hide. Change-Id: Iadc5c90995022b2e0a13bcd46e4f2de64d1088b5 Closes-bug: #1797309
This commit is contained in:
parent
07faca4701
commit
35a718a511
|
@ -27,7 +27,7 @@
|
|||
ng-class="{'active': currentIndex===$index}"
|
||||
ng-click="switchTo($index)"
|
||||
ng-repeat="step in steps"
|
||||
ng-show="viewModel.ready">
|
||||
ng-show="step.ready">
|
||||
<a href="#">
|
||||
<span ng-bind="::step.title"></span>
|
||||
<span class="hz-icon-required fa fa-asterisk"
|
||||
|
|
Loading…
Reference in New Issue