--- a/cms/app-client/app/components/notice-component.js Sat Oct 15 20:02:09 2016 +0530
+++ b/cms/app-client/app/components/notice-component.js Sun Oct 16 22:23:31 2016 +0530
@@ -3,6 +3,7 @@
export default Ember.Component.extend({
player: Ember.inject.service(),
+ filter: Ember.inject.service(),
classNames: ['notice-component'],
@@ -57,6 +58,18 @@
}
}
return location;
- })
+ }),
+
+ actions: {
+
+ addThemeFilter: function(id) {
+ this.get('filter').set('theme', id);
+ },
+
+ addLanguageFilter: function(id) {
+ this.get('filter').set('language', id);
+ }
+
+ }
});