Skip to content

Commit

Permalink
fix favicon loading
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed Oct 19, 2024
1 parent a2b6ce0 commit c9a8061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const App = () => {

return (
<>
<Favicon url={ ((appLogoFavicon) ? getBackendURL()+"/public/" + theme.appLogoFavicon : defaultLogoFavicon ) } />
<Favicon url={ ((appLogoFavicon) ? JSON.parse(theme.appLogoFavicon) : defaultLogoFavicon ) } />
<ColorModeContext.Provider value={{ colorMode }}>
<ThemeProvider theme={theme}>
<QueryClientProvider client={queryClient}>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/NotificationsPopOver/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const NotificationsPopOver = (props) => {
<>
<Favicon
animated={true}
url={ (theme?.appLogoFavicon) ? theme.appLogoFavicon : defaultLogoFavicon }
url={ (theme?.appLogoFavicon) ? JSON.parse(theme.appLogoFavicon) : defaultLogoFavicon }
alertCount={notifications.length}
iconSize={195}
/>
Expand Down

0 comments on commit c9a8061

Please sign in to comment.