Merged in fix/BOOK-456-destination-city-validation-error (pull request #2975)
fix(BOOK-456): Added nullish() to destination pages content and sidepeek content schema to avoid unexpected errors * fix(BOOK-456): Added nullish() to destination pages content and sidepeek content schema to avoid unexpected errors Approved-by: Linus Flood
This commit is contained in:
committed by
Linus Flood
parent
e2403e11b3
commit
c6f76b83cc
@@ -33,7 +33,7 @@ export function getConnections({ promo_campaign_page }: PromoCampaignPageRefs) {
|
||||
}
|
||||
case PromoCampaignPageEnum.ContentStack.blocks.Content:
|
||||
{
|
||||
if (block.content.length) {
|
||||
if (block?.content?.length) {
|
||||
connections.push(...block.content)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user