cms/app-client/app/components/notice-component.js
changeset 446 2a93eb9f38f5
parent 338 4a3899b6a7ed
child 447 38d5789e30d0
equal deleted inserted replaced
445:b1e5ad6b2a29 446:2a93eb9f38f5
    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 });