From 8187bb8a38fded41e30fe2ca2d471347b60fdc64 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Mon, 17 Feb 2025 22:37:08 +0530 Subject: [PATCH] fix: Wrong toast message on creation of a Live Chat campaign (#10919) --- .../CampaignPage/LiveChatCampaign/LiveChatCampaignDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/dashboard/components-next/Campaigns/Pages/CampaignPage/LiveChatCampaign/LiveChatCampaignDialog.vue b/app/javascript/dashboard/components-next/Campaigns/Pages/CampaignPage/LiveChatCampaign/LiveChatCampaignDialog.vue index 2c4b9848c..ea76c6130 100644 --- a/app/javascript/dashboard/components-next/Campaigns/Pages/CampaignPage/LiveChatCampaign/LiveChatCampaignDialog.vue +++ b/app/javascript/dashboard/components-next/Campaigns/Pages/CampaignPage/LiveChatCampaign/LiveChatCampaignDialog.vue @@ -21,11 +21,11 @@ const addCampaign = async campaignDetails => { type: CAMPAIGN_TYPES.ONGOING, }); - useAlert(t('CAMPAIGN.SMS.CREATE.FORM.API.SUCCESS_MESSAGE')); + useAlert(t('CAMPAIGN.LIVE_CHAT.CREATE.FORM.API.SUCCESS_MESSAGE')); } catch (error) { const errorMessage = error?.response?.message || - t('CAMPAIGN.SMS.CREATE.FORM.API.ERROR_MESSAGE'); + t('CAMPAIGN.LIVE_CHAT.CREATE.FORM.API.ERROR_MESSAGE'); useAlert(errorMessage); } };