mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
@@ -361,6 +361,16 @@ const ViewMessagesDialog = ({ show, dialogProps, onCancel }) => {
|
|||||||
if ('windows' === getOS()) {
|
if ('windows' === getOS()) {
|
||||||
fileSeparator = '\\'
|
fileSeparator = '\\'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const resp = await chatmessageApi.getAllChatmessageFromChatflow(dialogProps.chatflow.id, {
|
||||||
|
chatType: chatTypeFilter.length ? chatTypeFilter : undefined,
|
||||||
|
feedbackType: feedbackTypeFilter.length ? feedbackTypeFilter : undefined,
|
||||||
|
startDate: startDate,
|
||||||
|
endDate: endDate,
|
||||||
|
order: 'DESC'
|
||||||
|
})
|
||||||
|
|
||||||
|
const allChatlogs = resp.data ?? []
|
||||||
for (let i = 0; i < allChatlogs.length; i += 1) {
|
for (let i = 0; i < allChatlogs.length; i += 1) {
|
||||||
const chatmsg = allChatlogs[i]
|
const chatmsg = allChatlogs[i]
|
||||||
const chatPK = getChatPK(chatmsg)
|
const chatPK = getChatPK(chatmsg)
|
||||||
|
|||||||
Reference in New Issue
Block a user