diff --git a/src/components/misc/api-config.vue b/src/components/misc/api-config.vue
index 964a497c..cf3ad938 100644
--- a/src/components/misc/api-config.vue
+++ b/src/components/misc/api-config.vue
@@ -30,10 +30,7 @@
(configureApi = true)">{{ $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})
}
}