diff --git a/src/constants/Global.ts b/src/constants/Global.ts index 3ac97a99..0d0101a3 100644 --- a/src/constants/Global.ts +++ b/src/constants/Global.ts @@ -59,6 +59,8 @@ export const feedbackFormUrl = export const LITMUS_URL = 'https://longhorn.navi.com/litmus'; +export const LONGHORN_URL = 'http://longhorn.navi.com/new/'; + export const setLonghornSessionVerifier = (verifier?: string) => { if (!verifier) { // not storing in LocalStorage since it is creating cyclic dependency issue diff --git a/src/pages/DashboardV2/dc-97/HumanReminderAction.ts b/src/pages/DashboardV2/dc-97/HumanReminderAction.ts index 9e667bf4..2679cb93 100644 --- a/src/pages/DashboardV2/dc-97/HumanReminderAction.ts +++ b/src/pages/DashboardV2/dc-97/HumanReminderAction.ts @@ -60,6 +60,7 @@ export const setCallStatus = ( callId: accountNumber, providerCallReferenceId: crtObjectId }); + dispatch(setCallId(accountNumber)); axiosInstance .get(url, { headers: { donotHandleError: true }, timeout: HRC_API_TIMEOUT }) .then(response => { @@ -83,7 +84,7 @@ export const setCallStatus = ( ); dispatch(setHumanReminderCustomerDetails({ humanReminderResponse: response.data.body })); dispatch(setHumanReminderCustomerDetailsLoading(false)); - dispatch(setCallId(accountNumber)); + dispatch(setReminderRefId(response.data.body?.reminderRefId)); dispatch(setInteractionRefId(response.data.body?.interactionRefId)); } diff --git a/src/pages/LonghornBlock/Footer.tsx b/src/pages/LonghornBlock/Footer.tsx index 40db7fed..796efc06 100644 --- a/src/pages/LonghornBlock/Footer.tsx +++ b/src/pages/LonghornBlock/Footer.tsx @@ -2,9 +2,10 @@ import Button from '@primitives/Button/Button'; import RefreshIcon from '@icons/RefreshIcon/RefreshIcon'; import Typography from '@primitives/Typography/Typography'; import styles from './index.module.scss'; +import { LONGHORN_URL } from '@cp/src/constants/Global'; const handleOnClick = () => { - window.location.reload(); + window.location.href = LONGHORN_URL; }; function Footer() {