Skip to content

Commit

Permalink
Added tree support to site footer
Browse files Browse the repository at this point in the history
  • Loading branch information
jzongker committed Dec 30, 2024
1 parent f7ad060 commit 29ba5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/TreeHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export class TreeHelper {
footerBlockSections.forEach(s => {
s.zone="siteFooter";
const blockElements = ArrayHelper.getAll(allBlockElements, "blockId", footerBlocks[0].id);
s.elements = blockElements;
sections.push(s);
const tree = this.buildTree([s], blockElements);
sections.push(...tree);
});

}
Expand Down

0 comments on commit 29ba5c5

Please sign in to comment.