From 8e64d550fe6e33abc6c968a0860be55330907ac2 Mon Sep 17 00:00:00 2001 From: Claudemir Todo Bom Date: Sat, 27 Jul 2024 23:34:52 -0300 Subject: [PATCH] frontend/App.js: fix loading of default favicon --- frontend/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index 87c2bec7..d8b369e1 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -162,7 +162,7 @@ const App = () => { .then((file) => { setAppLogoDark(file ? (getBackendURL()+"/public/"+file) : defaultLogoDark) }) .catch((error) => { console.log("Error reading setting", error); }); getPublicSetting("appLogoFavicon") - .then((file) => { setAppLogoFavicon(file ? (getBackendURL()+"/public/"+file) : defaultLogoFavicon) }) + .then((file) => { setAppLogoFavicon(file ? (getBackendURL()+"/public/"+file) : null) }) .catch((error) => { console.log("Error reading setting", error); }); getPublicSetting("appName").then((name) => { setAppName(name || "ticketz") }) .catch((error) => { console.log("Error reading setting", error); setAppName("whitelabel chat") });