diff --git a/src/views/ChatHistory.jsx b/src/views/ChatHistory.jsx index cf91dc6..3b9cbbd 100644 --- a/src/views/ChatHistory.jsx +++ b/src/views/ChatHistory.jsx @@ -153,7 +153,7 @@ function ChatHistory() { if (isEmpty(selectedConversation.conversationid)) { return () => {}; } - const firstActionPageParams = { opisn: selectedConversation.opi_sn, whatsappid: selectedConversation.whatsapp_phone_number }; + const firstActionPageParams = { opisn: selectedConversation.OPI_SN, whatsappid: selectedConversation.whatsapp_phone_number }; if (isEmpty(selectedConversation.matchMsgList)) { firstActionPageParams.loadPrePage = false; firstActionPageParams.loadNextPage = true; @@ -364,7 +364,7 @@ function ChatHistory() { : {})} renderAddCmp={
- {selectedConversation.OPI_Name || message.senderName} + {message.msg_direction === 'outbound' ? selectedConversation.OPI_Name : message.senderName} {message.dateString || message.localDate} {message.statusCN}