Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: custom logo

Ilian Sapundshiev7ce1db67cb51
diff --git a/app/components/CustomLogo.tsx b/app/components/CustomLogo.tsx
index e1051a6eb..469d2686f 100644
--- a/app/components/CustomLogo.tsx
+++ b/app/components/CustomLogo.tsx
@@ -52,13 +52,14 @@ function CustomLogo(props) {
const language = useSelector(getCurrentLanguage);
const logo = useMemo(() => {
+ let customLogo = Pro ? Pro.TextLogoIcon : TextLogoIcon;
if (AppConfig.isWeb) {
- return WebLogoIcon;
- } else if (AppConfig.customLogo) {
- return AppConfig.customLogo;
- } else {
- return Pro ? Pro.TextLogoIcon : TextLogoIcon;
+ customLogo = WebLogoIcon;
}
+ if (AppConfig.customLogo) {
+ customLogo = AppConfig.customLogo;
+ }
+ return customLogo;
}, []);
return (