We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b8e24 commit dcee40dCopy full SHA for dcee40d
src/routes/chat/[agentId]/[conversationId]/chat-box.svelte
@@ -1180,7 +1180,7 @@
1180
isOpenEditMsgModal = false;
1181
const postback = buildPostback(truncateMsgId);
1182
deleteConversationMessage(params.conversationId, truncateMsgId, true).then(res => {
1183
- sendChatMessage(editText, { postback: postback, inputMessageId: res.messageId }).then(() => {
+ sendChatMessage(editText, { postback: postback, inputMessageId: res?.messageId }).then(() => {
1184
resetEditMsg();
1185
}).catch(() => {
1186
0 commit comments