@embedreach/components 0.1.81 → 0.1.83
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.
- package/dist/chunks/index.js +3 -3
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -48091,7 +48091,7 @@ const EditCampaignContent = ({
|
|
|
48091
48091
|
if (!finalCommunicationGroupId || !selectedChannels) {
|
|
48092
48092
|
return;
|
|
48093
48093
|
}
|
|
48094
|
-
if (!selectedChannels.includes("email")) {
|
|
48094
|
+
if (!selectedChannels.includes("email") && communicationGroup?.email_channel_sender_id !== null) {
|
|
48095
48095
|
console.log("updating email channel sender id to null");
|
|
48096
48096
|
updateCommunicationGroup2({
|
|
48097
48097
|
groupId: finalCommunicationGroupId,
|
|
@@ -48100,7 +48100,7 @@ const EditCampaignContent = ({
|
|
|
48100
48100
|
}
|
|
48101
48101
|
});
|
|
48102
48102
|
}
|
|
48103
|
-
if (!selectedChannels.includes("sms")) {
|
|
48103
|
+
if (!selectedChannels.includes("sms") && communicationGroup?.sms_channel_sender_id !== null) {
|
|
48104
48104
|
console.log("updating sms channel sender id to null");
|
|
48105
48105
|
updateCommunicationGroup2({
|
|
48106
48106
|
groupId: finalCommunicationGroupId,
|
|
@@ -48249,7 +48249,7 @@ const EditCampaignContent = ({
|
|
|
48249
48249
|
setMergeFieldsResponse(updatedMergeFields);
|
|
48250
48250
|
});
|
|
48251
48251
|
} else {
|
|
48252
|
-
if (communicationGroup?.id) {
|
|
48252
|
+
if (communicationGroup?.id && communicationGroup.extra_merge_fields !== null) {
|
|
48253
48253
|
console.log("updating extra merge fields to null");
|
|
48254
48254
|
updateCommunicationGroup2({
|
|
48255
48255
|
groupId: communicationGroup?.id,
|