NTP-36408 |Calling type removed| aman singh (#1377)
This commit is contained in:
@@ -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
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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) => {
|
||||
</div>
|
||||
<div key={currentCallType} className={styles.questions}>
|
||||
{fetchedCallingTypes.map(callingType => {
|
||||
if (isExternal && callingType.isHiddenForExternal) return null;
|
||||
return (
|
||||
<>
|
||||
<Tooltip placement="top">
|
||||
|
||||
Reference in New Issue
Block a user