Merge pull request #3651 from tgxworld/fix_broken_private_message_search_context
FIX: Broken private message search context.
This commit is contained in:
commit
183f6d89b8
|
@ -14,9 +14,9 @@ export default Em.Controller.extend({
|
|||
return Ember.get(searchContext, 'type');
|
||||
}
|
||||
},
|
||||
set(key, value) {
|
||||
set(value, searchContext) {
|
||||
// a bit hacky, consider cleaning this up, need to work through all observers though
|
||||
const context = $.extend({}, this.get('searchContext'));
|
||||
const context = $.extend({}, searchContext);
|
||||
context.type = value;
|
||||
this.set('searchContext', context);
|
||||
return this.get('searchContext.type');
|
||||
|
|
Loading…
Reference in New Issue