fix: code lint

This commit is contained in:
Nick
2019-03-19 14:46:10 -04:00
parent 343d4db0b3
commit 0fd681c1a5
9 changed files with 31 additions and 168 deletions

View File

@@ -55,7 +55,7 @@
<script>
import _ from 'lodash'
import { get, sync } from 'vuex-pathify'
import { sync } from 'vuex-pathify'
import { OrbitSpinner } from 'epic-spinners'
import searchPagesQuery from 'gql/common/common-pages-query-search.gql'
@@ -105,14 +105,6 @@ export default {
}
}
},
methods: {
setSearchTerm(term) {
this.search = term
},
goToPage(item) {
window.location.assign(`/${item.locale}/${item.path}`)
}
},
mounted() {
this.$root.$on('searchMove', (dir) => {
this.cursor += (dir === 'up' ? -1 : 1)
@@ -130,6 +122,14 @@ export default {
}
})
},
methods: {
setSearchTerm(term) {
this.search = term
},
goToPage(item) {
window.location.assign(`/${item.locale}/${item.path}`)
}
},
apollo: {
response: {
query: searchPagesQuery,