Skip to content

Commit

Permalink
Merge pull request #19 from hlxsites/general-improvements
Browse files Browse the repository at this point in the history
#461424 #461425 - Fix default header and footer condition.
  • Loading branch information
infloent authored Apr 23, 2024
2 parents c327a4e + bcdfcd6 commit 0b5de8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blocks/footer/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class Footer extends ComponentBase {
}

static earlyStopRender() {
return metaFragment === false;
return metaFooter === false;
}

ready() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default class Header extends ComponentBase {
}

static earlyStopRender() {
return metaFragment === false;
return metaHeader === false;
}

connected() {
Expand Down

0 comments on commit 0b5de8a

Please sign in to comment.