Skip to content

Commit

Permalink
feat: unexpand search after searching
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsey committed Nov 29, 2021
1 parent bb87dc1 commit cf6587d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/layout/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ export default {
/* Template Methods */
const logout = () => $auth.logout()
const searchForum = () => $router.push({ name: 'PostSearch', query: { search: v.searchTerms } })
const searchForum = () => {
$router.push({ name: 'PostSearch', query: { search: v.searchTerms } })
toggleFocusSearch()
}
const dismissNotifications = params => NotificationsStore.dismiss(params)
Expand Down

0 comments on commit cf6587d

Please sign in to comment.