Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Disable vote button until delegates selected #140
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Apr 25, 2017
1 parent 625f7bd commit c5176d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/delegates/delegates.pug
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ div.offline-hide
md-button.md-icon-button.lsk-vote-remove-button(ng-click='$ctrl.unselect(username)')
i.material-icons close
span.pull-right.right-action-buttons
md-button(ng-click='$ctrl.openVoteDialog()')
md-button(ng-click='$ctrl.openVoteDialog()', ng-disabled='$ctrl.voteList.length + $ctrl.unvoteList.length == 0')
i.material-icons done
span Vote
span(ng-if='$ctrl.voteList.length || $ctrl.unvoteList.length')
Expand Down

0 comments on commit c5176d1

Please sign in to comment.