Skip to content

Commit

Permalink
#461424 #461425 - Fix default header and footer condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
infloent committed Apr 23, 2024
1 parent 32cb4ac commit bcdfcd6
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 bcdfcd6

Please sign in to comment.