fix: add all pages as possible references

This commit is contained in:
Christel Westerberg
2024-12-27 09:25:38 +01:00
parent 97f11a2488
commit c42a03803c
42 changed files with 319 additions and 74 deletions

View File

@@ -377,7 +377,9 @@ export const renderOptions: RenderOptions = {
} else if (
entry?.node.__typename === ContentEnum.blocks.LoyaltyPage ||
entry?.node.__typename === ContentEnum.blocks.ContentPage ||
entry?.node.__typename === ContentEnum.blocks.AccountPage
entry?.node.__typename === ContentEnum.blocks.AccountPage ||
entry?.node.__typename === ContentEnum.blocks.CollectionPage ||
entry?.node.__typename === ContentEnum.blocks.HotelPage
) {
// If entry is not an ImageContainer, it is a page and we return it as a link
const props = extractPossibleAttributes(node.attrs)