feat: add full text search

This commit is contained in:
2023-08-01 20:21:31 +02:00
parent 181c15f5f5
commit 7267cb88a3
16 changed files with 242 additions and 179 deletions
+3 -3
View File
@@ -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 ?? [])