Veto contributions

This commit is contained in:
2019-04-28 14:41:16 +01:00
parent c6a37f7e94
commit 9821c8b2ea
6 changed files with 54 additions and 35 deletions
+4 -4
View File
@@ -33,10 +33,10 @@ export default Controller.extend({
actions: {
vetoContribution (/* contributionId */) {
// this.kredits.vote(proposalId).then(transaction => {
// window.confirm('Vote submitted to Ethereum blockhain: '+transaction.hash);
// });
vetoContribution (contributionId) {
this.kredits.veto(contributionId).then(transaction => {
window.confirm('Veto submitted to Ethereum blockhain: '+transaction.hash);
});
},
confirmProposal (proposalId) {