diff --git a/client/src/Navigation.tsx b/client/src/Navigation.tsx
index f55cbc7a..30d712ec 100644
--- a/client/src/Navigation.tsx
+++ b/client/src/Navigation.tsx
@@ -173,6 +173,8 @@ export const Menu: FC <{
}
}
+ const hasImpressum = lean4webConfig.impressum || lean4webConfig.contactDetails
+
return
save(code)} />
{setPrivacyOpen(true)}} />
- {setImpressumOpen(true)}} />
+ { hasImpressum &&
+ {setImpressumOpen(true)}} />
+ }
setPrivacyOpen(false)} />
- { (lean4webConfig.impressum || lean4webConfig.contactDetails) &&
+ { hasImpressum &&
setImpressumOpen(false)} />
}
setToolsOpen(false)} project={project} />