|
|
|
@ -52,10 +52,10 @@ const MessagesList = ({ ...props }) => {
|
|
|
|
|
setChatItemMessages([]);
|
|
|
|
|
setParamsForMsgList({});
|
|
|
|
|
setSelectedMatch({});
|
|
|
|
|
if (isEmpty(selectedConversation.conversationid) || isEmpty(selectedConversation.opi_sn)) {
|
|
|
|
|
if (isEmpty(selectedConversation.conversationid)) {
|
|
|
|
|
return () => {};
|
|
|
|
|
}
|
|
|
|
|
const firstActionPageParams = { opisn: selectedConversation.opi_sn, whatsappid: selectedConversation.whatsapp_phone_number, loadNextPage: true };
|
|
|
|
|
const firstActionPageParams = { opisn: (selectedConversation.opi_sn || 0), whatsappid: selectedConversation.whatsapp_phone_number, loadNextPage: true };
|
|
|
|
|
// if (isEmpty(selectedConversation.matchMsgList)) {
|
|
|
|
|
if (!isEmpty(formValues?.from_date)) {
|
|
|
|
|
firstActionPageParams.lasttime = formValues.from_date;
|
|
|
|
|