Close navbar when submitting search
Closes #366 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -24,6 +24,7 @@ export default class SearchField extends Vue {
|
||||
search: string = "";
|
||||
|
||||
enter() {
|
||||
this.$emit("navbar-search");
|
||||
this.$router.push({
|
||||
name: RouteName.SEARCH,
|
||||
query: { term: this.search },
|
||||
|
||||
Reference in New Issue
Block a user