FIX: when leaving PM tab revert to user scoped search

This commit is contained in:
Sam 2017-12-21 12:30:41 +11:00
parent e756d02088
commit 6bf3bee473
1 changed files with 4 additions and 1 deletions

View File

@ -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")
);
} }
}); });
}; };