From c190e594655b02b497bae7e0fa10215dee9a4ca0 Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A." Date: Tue, 17 Sep 2024 23:33:46 +0300 Subject: [PATCH] Fixed minor display issue showing No API URL configured, when in fact everything is configured correctly. --- frontend/layouts/default.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/layouts/default.vue b/frontend/layouts/default.vue index 24e3f550..0b991712 100644 --- a/frontend/layouts/default.vue +++ b/frontend/layouts/default.vue @@ -300,7 +300,7 @@ - +
@@ -471,6 +471,8 @@ const testApi = async () => { api_status.value = 200 === response.status; api_response.value = 200 === response.status ? `Status: OK` : `Status: ${response.status} - ${response.statusText}`; + notification('success', 'API Connection', `${response.status}: ${api_response.value}`) + showConnection.value = false } catch (e) { api_status.value = false; api_response.value = `Request error. ${e.message}`;