You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ng-show in particular has a lot of details. I think we could probably reduce this down to <button ng-show="showRollBack">Roll back</button> and use a clearly named function to set the boolean in the controller.
Original comment is here: https://github.com/openshift/origin-web-console/pull/82/files#r69194937
Some of our template logic may be getting out of hand. Here is one example from
browse/_deployment-details.html
:The
ng-show
in particular has a lot of details. I think we could probably reduce this down to<button ng-show="showRollBack">Roll back</button>
and use a clearly named function to set the boolean in the controller.Thoughts @jwforres @spadgett
The text was updated successfully, but these errors were encountered: