From 9bca609235b1ef02121169d369e2acf1dad3755e Mon Sep 17 00:00:00 2001 From: Zahirul Iman Date: Tue, 27 May 2025 11:38:38 +0800 Subject: [PATCH] Fix loading screen to use hardcoded logo URL --- components/Loading.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/components/Loading.vue b/components/Loading.vue index a496756..622fac5 100644 --- a/components/Loading.vue +++ b/components/Loading.vue @@ -13,14 +13,7 @@ const refreshPage = () => { }; const loadingLogoSrc = computed(() => { - if (siteSettingsLoading.value) { - return '/img/logo/corradAF-logo.svg'; // Default fallback during loading state - } - const logoUrl = siteSettings.value?.siteLoadingLogo; - if (logoUrl && logoUrl.trim() !== '') { - return logoUrl; // Use logo from settings if available and not empty - } - return '/img/logo/corradAF-logo.svg'; // Ultimate fallback if no logo is set in settings + return 'http://localhost:3003/uploads/site-settings/loading-logo.png'; }); // Get site name with fallback @@ -42,7 +35,6 @@ const getSiteName = () => { :src="loadingLogoSrc" :alt="getSiteName()" class="max-w-[180px] max-h-[60px] object-contain" - @error="$event.target.src = '/img/logo/corradAF-logo.svg'" />