Veto contributions
This commit is contained in:
@@ -5,16 +5,16 @@ export default Component.extend({
|
||||
tagName: 'ul',
|
||||
classNames: ['contribution-list'],
|
||||
|
||||
// actions: {
|
||||
//
|
||||
// veto (contributionId) {
|
||||
// if (this.contractInteractionEnabled) {
|
||||
// this.vetoContribution(contributionId);
|
||||
// } else {
|
||||
// window.alert('Only members can veto contributions. Please ask someone to set you up.');
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// }
|
||||
actions: {
|
||||
|
||||
veto (contributionId) {
|
||||
if (this.contractInteractionEnabled) {
|
||||
this.vetoContribution(contributionId);
|
||||
} else {
|
||||
window.alert('Only members can veto contributions. Please ask someone to set you up.');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user