equal
deleted
inserted
replaced
19 var participant = participants.find(participant => participant.name === contributor.name); |
19 var participant = participants.find(participant => participant.name === contributor.name); |
20 if(participant) { |
20 if(participant) { |
21 participant['role'].push(contributor.role.split('/').pop()); |
21 participant['role'].push(contributor.role.split('/').pop()); |
22 } else { |
22 } else { |
23 participants.push({ name: contributor.name, role: [ contributor.role.split('/').pop() ] }); |
23 participants.push({ name: contributor.name, role: [ contributor.role.split('/').pop() ] }); |
24 } |
24 } |
25 } |
25 } |
26 }); |
26 }); |
27 } |
27 } |
28 return participants; |
28 return participants; |
29 }), |
29 }), |
61 }), |
61 }), |
62 |
62 |
63 actions: { |
63 actions: { |
64 |
64 |
65 addThemeFilter: function(id) { |
65 addThemeFilter: function(id) { |
66 this.get('filter').set('theme', id); |
66 this.get('filter').setFilter('theme', id); |
67 }, |
67 }, |
68 |
68 |
69 addLanguageFilter: function(id) { |
69 addLanguageFilter: function(id) { |
70 this.get('filter').set('language', id); |
70 this.get('filter').setFilter('language', id); |
71 } |
71 } |
72 |
72 |
73 } |
73 } |
74 |
74 |
75 }); |
75 }); |