fix(SW-3028): Using hero heading instead of heading for campaign hero on hotel pages

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-08-28 08:12:52 +00:00
parent fd48f86c90
commit 997f928f2b

View File

@@ -218,7 +218,7 @@ export const campaignPagesByHotelUidSchema = z
hero: {
...hero,
image: (heroImage || cardContentImage) as ImageVaultAsset,
heading,
heading: hero.heading || card_content?.heading || heading,
},
}
}