diff --git a/packages/marko-web-theme-monorail/components/blocks/section-feed.marko b/packages/marko-web-theme-monorail/components/blocks/section-feed.marko index 7a3a61777..9db42ad2d 100644 --- a/packages/marko-web-theme-monorail/components/blocks/section-feed.marko +++ b/packages/marko-web-theme-monorail/components/blocks/section-feed.marko @@ -20,9 +20,9 @@ $ const withSection = defaultValue(input.withSection, true); $ const { nativeX: nxConfig } = out.global; $ const nativeX = getAsObject(input, "nativeX"); $ const withNativeXSection = defaultValue(input.withNativeXSection, true); -$ const setWithSection = (node, nxNode, withNativeXSection = true) => { - if (node.withSection) return true; - if (!withNativeXSection) return false +$ const setWithSection = (node, nxNode, withNativeXSection = true, nodeInput = {}) => { + if (nodeInput.withSection) return true; + if (!withNativeXSection) return false; return node.id !== nxNode.id; }; @@ -54,8 +54,9 @@ $ const setWithSection = (node, nxNode, withNativeXSection = true) => { config=nxConfig > {