From bcdfcd68cb91452966d95476db63c0b045e18b6d Mon Sep 17 00:00:00 2001 From: Florin Raducan Date: Tue, 23 Apr 2024 09:29:54 +0300 Subject: [PATCH] #461424 #461425 - Fix default header and footer condition. --- blocks/footer/footer.js | 2 +- blocks/header/header.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/footer/footer.js b/blocks/footer/footer.js index 0d24d733..d9ce7c23 100644 --- a/blocks/footer/footer.js +++ b/blocks/footer/footer.js @@ -16,7 +16,7 @@ export default class Footer extends ComponentBase { } static earlyStopRender() { - return metaFragment === false; + return metaFooter === false; } ready() { diff --git a/blocks/header/header.js b/blocks/header/header.js index b1e400f3..288e4149 100644 --- a/blocks/header/header.js +++ b/blocks/header/header.js @@ -18,7 +18,7 @@ export default class Header extends ComponentBase { } static earlyStopRender() { - return metaFragment === false; + return metaHeader === false; } connected() {