1
0

fix(migration): put "Import from other services" in settings

Resolves https://kolaente.dev/vikunja/vikunja/issues/2347
This commit is contained in:
kolaente
2024-06-18 15:19:33 +02:00
parent f222ecfa19
commit eafd134be5
2 changed files with 17 additions and 14 deletions

View File

@ -9,6 +9,7 @@
>
<RouterLink
class="navigation-link"
:class="{'router-link-active': routeName === 'migrate.start' && route.name === 'migrate.service'}"
:to="{name: routeName}"
>
{{ title }}
@ -29,12 +30,14 @@ import { useI18n } from 'vue-i18n'
import { useTitle } from '@/composables/useTitle'
import { useConfigStore } from '@/stores/config'
import { useAuthStore } from '@/stores/auth'
import {useRoute} from 'vue-router'
const { t } = useI18n({useScope: 'global'})
useTitle(() => t('user.settings.title'))
const configStore = useConfigStore()
const authStore = useAuthStore()
const route = useRoute()
const totpEnabled = computed(() => configStore.totpEnabled)
const caldavEnabled = computed(() => configStore.caldavEnabled)