From 35a718a511a987ed5038561a0650de485520b8d5 Mon Sep 17 00:00:00 2001 From: shutingm Date: Tue, 9 Oct 2018 17:45:22 +0800 Subject: [PATCH] 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 --- horizon/static/framework/widgets/wizard/wizard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horizon/static/framework/widgets/wizard/wizard.html b/horizon/static/framework/widgets/wizard/wizard.html index 164c0f37c6..d1bf872c8c 100644 --- a/horizon/static/framework/widgets/wizard/wizard.html +++ b/horizon/static/framework/widgets/wizard/wizard.html @@ -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">