Skip to content

Commit

Permalink
frontend/App.js: fix loading of default favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed Jul 28, 2024
1 parent bc5519f commit 8e64d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") });
Expand Down

0 comments on commit 8e64d55

Please sign in to comment.