diff --git a/src/pages/CaseDetails/constants/index.tsx b/src/pages/CaseDetails/constants/index.tsx index 05cb9fac..0ccfb52a 100644 --- a/src/pages/CaseDetails/constants/index.tsx +++ b/src/pages/CaseDetails/constants/index.tsx @@ -231,7 +231,8 @@ export const ExcludedRedirectionEndPointsList = [COSMOS_PATH]; export const REVAMPED_CALLING_TYPES = [ { value: ECallingType.AMEYO, - label: 'Ameyo' + label: 'Ameyo', + isHiddenForExternal: true }, { value: ECallingType.SLASH, @@ -239,26 +240,26 @@ export const REVAMPED_CALLING_TYPES = [ }, { value: ECallingType.SELF_CALL, - label: 'Self call' - }, - { - value: ECallingType.WHATSAPP_CALL, - label: 'Whatsapp Call' + label: 'Self call', + isHiddenForExternal: true }, { value: ECallingType.WHATSAPP_TEXT, - label: 'Whatsapp Text' + label: 'Whatsapp Text', + isHiddenForExternal: true }, { value: ECallingType.SKIP_TRACING, - label: 'Customer Outreach' + label: 'Customer Outreach', + isHiddenForExternal: true } ]; export const OLD_CALLING_TYPES = [ { value: ECallingType.AMEYO, - label: 'Ameyo' + label: 'Ameyo', + isHiddenForExternal: true }, { value: ECallingType.SLASH, @@ -266,7 +267,8 @@ export const OLD_CALLING_TYPES = [ }, { value: ECallingType.SELF_CALL, - label: 'Self call' + label: 'Self call', + isHiddenForExternal: true } ]; diff --git a/src/pages/CaseDetails/feedbackForm/constants/index.tsx b/src/pages/CaseDetails/feedbackForm/constants/index.tsx index 1cdfdda2..00b4e719 100644 --- a/src/pages/CaseDetails/feedbackForm/constants/index.tsx +++ b/src/pages/CaseDetails/feedbackForm/constants/index.tsx @@ -23,12 +23,6 @@ export const SKIP_TRACING_TYPES_LABEL = { }; export const SKIP_TRACING_TYPES_OPTIONS = [ - { - id: SKIP_TRACING_TYPES.SKIP_TRACING_CALL, - label: 'Call', - value: SKIP_TRACING_TYPES.SKIP_TRACING_CALL, - checked: false - }, { id: SKIP_TRACING_TYPES.SKIP_TRACING_TEXT, label: 'Text', diff --git a/src/pages/CaseDetails/feedbackForm/index.tsx b/src/pages/CaseDetails/feedbackForm/index.tsx index 02e30992..bd9ca5e1 100644 --- a/src/pages/CaseDetails/feedbackForm/index.tsx +++ b/src/pages/CaseDetails/feedbackForm/index.tsx @@ -117,6 +117,7 @@ const FeedbackFrom = (props: FeedbackFromProps) => { (state: RootState) => state?.caseDetail?.pageData?.[createKey(loanId, customerId)]?.details?.data?.editAccessFlag ); + const isExternal = !user?.naviUser; const navigate = useNavigate(); const airtelSelfCallRecordingEnabled = useSelector( (store: RootState) => store.common.featureFlags.airtelSelfCallRecordingEnabled @@ -765,6 +766,7 @@ const FeedbackFrom = (props: FeedbackFromProps) => {