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:
@@ -218,7 +218,7 @@ export const campaignPagesByHotelUidSchema = z
|
|||||||
hero: {
|
hero: {
|
||||||
...hero,
|
...hero,
|
||||||
image: (heroImage || cardContentImage) as ImageVaultAsset,
|
image: (heroImage || cardContentImage) as ImageVaultAsset,
|
||||||
heading,
|
heading: hero.heading || card_content?.heading || heading,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user