feat: add full text search
This commit is contained in:
@@ -60,7 +60,6 @@
|
||||
|
||||
<script lang='ts'>
|
||||
import { computed, defineComponent, ref } from 'vue'
|
||||
import { useNuxtApp } from '@nuxt/bridge/dist/runtime'
|
||||
import { useAuth } from '~/plugins/auth'
|
||||
import { useTranslation } from '~/plugins/i18n'
|
||||
import {
|
||||
@@ -69,13 +68,14 @@ import {
|
||||
useRemoveOriginMutation,
|
||||
useSaveOriginMutation
|
||||
} from '~/graphql/generated/operations'
|
||||
import { useState } from '~/store'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'OriginsPage',
|
||||
setup() {
|
||||
const { $store } = useNuxtApp()
|
||||
const state = useState()
|
||||
const { t } = useTranslation()
|
||||
$store.commit('setTitle', t('app.links.origins'))
|
||||
state.setTitle(t('app.links.origins'))
|
||||
const { isAuthenticated } = useAuth()
|
||||
const { result, loading, refetch } = useFindOriginsQuery()
|
||||
const origins = computed(() => result.value?.origins ?? [])
|
||||
|
||||
Reference in New Issue
Block a user