diff --git a/src/components/misc/api-config.vue b/src/components/misc/api-config.vue index 964a497c9..cf3ad9383 100644 --- a/src/components/misc/api-config.vue +++ b/src/components/misc/api-config.vue @@ -30,10 +30,7 @@ {{ $t('apiConfig.change') }} - - {{ successMsg }} - - + {{ errorMsg }} @@ -74,7 +71,6 @@ watch(() => props.configureOpen, (value) => { const {t} = useI18n({useScope: 'global'}) const errorMsg = ref('') -const successMsg = ref('') async function setApiUrl() { if (apiUrl.value === '') { @@ -99,7 +95,6 @@ async function setApiUrl() { emit('foundApi', apiUrl.value) } catch (e) { // Still not found, url is still invalid - successMsg.value = '' errorMsg.value = t('apiConfig.error', {domain: apiDomain.value}) } }