Show contribution history from events

This commit is contained in:
2017-08-14 17:33:38 +02:00
parent b8f4040def
commit 970b390509
6 changed files with 68 additions and 10 deletions
@@ -0,0 +1,16 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'ul',
classNames: ['contribution-list'],
contributionsWithContributors: function() {
return this.get('contributions').map((c) => {
c.set('contributor', this.get('contributors')
.findBy('address', c.get('recipientAddress')));
return c;
});
}.property('contributions.@each')
});