From 24ad2f892db0fce3458624c9dad8735130253fa0 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 5 Jul 2023 17:46:52 +0200 Subject: [PATCH] feat: improve handling of an invalid api url Resolves https://kolaente.dev/vikunja/frontend/issues/1964 --- src/components/misc/no-auth-wrapper.vue | 8 ++++++- src/components/misc/ready.vue | 28 ++++++++++++------------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/components/misc/no-auth-wrapper.vue b/src/components/misc/no-auth-wrapper.vue index e56208b0d..b9a0ea042 100644 --- a/src/components/misc/no-auth-wrapper.vue +++ b/src/components/misc/no-auth-wrapper.vue @@ -13,7 +13,7 @@

{{ title }}

- + {{ motd }} @@ -45,6 +45,12 @@ const route = useRoute() const {t} = useI18n({useScope: 'global'}) const title = computed(() => t(route.meta?.title as string || '')) useTitle(() => title.value) + +const { + showApiConfig = true, +} = defineProps<{ + showApiConfig?: boolean +}>()