NTP-14729| toast time change
This commit is contained in:
@@ -66,6 +66,7 @@ export const makeACallToCustomer =
|
||||
toast({
|
||||
type: 'error',
|
||||
text1: response?.data?.message,
|
||||
visibilityTime: 5000
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { CommunicationChannel } from './Constants';
|
||||
|
||||
export const getCommunicationChannelType = (channel: string) => {
|
||||
if (!channel) return [];
|
||||
if (channel === CommunicationChannel.Both) {
|
||||
return [CommunicationChannel.Sms, CommunicationChannel.Whatsapp];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user