FIX: when leaving PM tab revert to user scoped search
This commit is contained in:
parent
e756d02088
commit
6bf3bee473
|
@ -32,7 +32,10 @@ export default (viewName, path) => {
|
||||||
},
|
},
|
||||||
|
|
||||||
deactivate() {
|
deactivate() {
|
||||||
this.searchService.set('contextType', 'private_messages');
|
this.searchService.set(
|
||||||
|
'searchContext',
|
||||||
|
this.controllerFor("user").get("model.searchContext")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue