From d933906eccc5c26b8c9d9a0a59ef7149d14452e0 Mon Sep 17 00:00:00 2001 From: Vit Stanislav <vit@lightcurve.io> Date: Tue, 25 Apr 2017 14:54:55 +0200 Subject: [PATCH] Disable "My Votes (0)" button #139 --- src/app/components/delegates/delegates.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/delegates/delegates.pug b/src/app/components/delegates/delegates.pug index 2e3ceaa39..37ba74e9d 100644 --- a/src/app/components/delegates/delegates.pug +++ b/src/app/components/delegates/delegates.pug @@ -27,7 +27,7 @@ div.offline-hide i.material-icons list span Input Names md-menu.pull-right.right-action-buttons - md-button.pull-right(ng-click='$mdOpenMenu()') + md-button.pull-right(ng-click='$mdOpenMenu()', ng-disabled='$ctrl.votedList.length == 0') i.material-icons visibility span My votes ({{$ctrl.votedList.length}}) md-menu-content(width='4')