diff --git a/src/components/flow/actions/localization/helpers.ts b/src/components/flow/actions/localization/helpers.ts index 4b1dc457f..c778a04d2 100644 --- a/src/components/flow/actions/localization/helpers.ts +++ b/src/components/flow/actions/localization/helpers.ts @@ -147,13 +147,15 @@ export const initializeWhatsappMsgLocalizedForm = ( buttonText: { value: '' }, actionURL: { value: '' }, listItems: { - value: (originalAction as SendWhatsAppMsg).list_items.map(item => { - return { - uuid: item.uuid, - title: '', - description: '', - }; - }), + value: ((originalAction as SendWhatsAppMsg).list_items || []).map( + item => { + return { + uuid: item.uuid, + title: '', + description: '', + }; + }, + ), }, listItemTitleEntry: { value: '' }, listItemDescriptionEntry: { value: '' },