@embedreach/components 0.2.38 → 0.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81920,7 +81920,7 @@ const getAutomationSteps = ({
81920
81920
  const smsChannelSender = smsChannelSenders.find(
81921
81921
  (sender) => sender.channelSender.id === communicationGroup.smsChannelSenderId
81922
81922
  );
81923
- if (smsChannelSender && smsChannelSender.smsApplication && smsChannelSender.smsApplication?.status !== SmsRegistrationApplicationStatus.APPROVED) {
81923
+ if (!smsChannelSender || smsChannelSender.smsApplication && smsChannelSender.smsApplication?.status !== SmsRegistrationApplicationStatus.APPROVED) {
81924
81924
  return true;
81925
81925
  }
81926
81926
  if (communicationGroup.smsChannelSenderId === null || communicationGroup.emailChannelSenderId === null) {