feature/fix-vue-i18n-9.2.31 (#1994)
Co-authored-by: renovate <renovatebot@kolaente.de> Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1994 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:

committed by
konrad

parent
1569042471
commit
5ef939a230
@ -2,7 +2,7 @@ import {error} from '@/message'
|
||||
import {useI18n} from 'vue-i18n'
|
||||
|
||||
export function useCopyToClipboard() {
|
||||
const {t} = useI18n()
|
||||
const {t} = useI18n({useScope: 'global'})
|
||||
|
||||
return async (text: string) => {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user