aboutsummaryrefslogtreecommitdiff
path: root/src/components/search_bar/search_bar.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/search_bar/search_bar.js')
-rw-r--r--src/components/search_bar/search_bar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/search_bar/search_bar.js b/src/components/search_bar/search_bar.js
index 551649c7..3b297f09 100644
--- a/src/components/search_bar/search_bar.js
+++ b/src/components/search_bar/search_bar.js
@@ -16,7 +16,7 @@ const SearchBar = {
error: false
}),
watch: {
- '$route': function (route) {
+ $route: function (route) {
if (route.name === 'search') {
this.searchTerm = route.query.query
}