feat: add full text search
This commit is contained in:
@@ -62,7 +62,6 @@
|
||||
|
||||
<script lang='ts'>
|
||||
import { computed, ref } from 'vue'
|
||||
import { useNuxtApp } from '@nuxt/bridge/dist/runtime'
|
||||
|
||||
import List from './List/index.vue'
|
||||
import { useAuth } from '~/plugins/auth'
|
||||
@@ -75,6 +74,7 @@ import {
|
||||
useToggleIgnoreMunicipalityMutation,
|
||||
useToggleIgnoreStateMutation
|
||||
} from '~/graphql/generated/operations'
|
||||
import { useState } from '~/store'
|
||||
|
||||
export default {
|
||||
name: 'FiltersPage',
|
||||
@@ -82,9 +82,9 @@ export default {
|
||||
List
|
||||
},
|
||||
setup() {
|
||||
const { $store } = useNuxtApp()
|
||||
const state = useState()
|
||||
const { t } = useTranslation()
|
||||
$store.commit('setTitle', t('app.links.filters'))
|
||||
state.setTitle(t('app.links.filters'))
|
||||
const { isAuthenticated } = useAuth()
|
||||
const { result, loading, refetch } = useFetchFiltersQuery()
|
||||
const bands = computed(() => result.value?.bands ?? [])
|
||||
|
||||
Reference in New Issue
Block a user