Skip to content

Commit

Permalink
feat: handle getParentt in site_logo
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Jun 18, 2024
1 parent eca0817 commit ad91c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SiteProperty/SiteProperty.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const SiteProperty = ({
case 'site_logo':
const logo_height = config.settings?.['volto-site-settings']?.logo_height;

if (subsite && subsite.subsite_logo) {
if (subsite && subsite.subsite_logo && !getParent) {
const logo_scale = logo_height / subsite.subsite_logo.height;

value = (
Expand Down

0 comments on commit ad91c90

Please sign in to comment.