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

Commit

Permalink
Merge pull request #143 from LiskHQ/140_disable-vote-button
Browse files Browse the repository at this point in the history
Disable vote button until delegates selected - Closes #140
  • Loading branch information
karmacoma authored Apr 26, 2017
2 parents 5c634d8 + c5176d1 commit 365f77d
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 365f77d

Please sign in to comment.