Vote for proposals from the UI

This commit is contained in:
2017-02-05 17:31:36 +08:00
parent aaa1102563
commit 79412e2032
5 changed files with 33 additions and 5 deletions
+9 -1
View File
@@ -3,6 +3,14 @@ import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'ul',
classNames: ['proposal-list']
classNames: ['proposal-list'],
actions: {
confirm(proposalId) {
this.sendAction('confirmAction', proposalId);
}
}
});