fix: vue-i18n global scope
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dominik Pschenitschni 2022-09-15 11:13:43 +02:00
parent 92f24e59a7
commit d35b3ddde3
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ export function useList(listId: MaybeRef<ListModel['id']>) {
const listService = shallowReactive(new ListService())
const {loading: isLoading} = toRefs(listService)
const list : ListModel = reactive(new ListModel({}))
const {t} = useI18n()
const {t} = useI18n({useScope: 'global'})
watch(
() => unref(listId),

View File

@ -120,7 +120,7 @@ import { success } from '@/message'
const SEARCH_DEBOUNCE = 300
const {t} = useI18n()
const {t} = useI18n({useScope: 'global'})
const store = useStore()
const route = useRoute()
const router = useRouter()

View File

@ -95,7 +95,7 @@ const props = defineProps({
const router = useRouter()
const store = useStore()
const {t} = useI18n()
const {t} = useI18n({useScope: 'global'})
const {list, save: saveList, isLoading} = useList(props.listId)