edited chat message now is marked as Normal
This commit is contained in:
parent
7078f47f72
commit
6c73eae9f6
@ -164,6 +164,10 @@ const ChatMessageItem: FC<{
|
||||
value={messageItem.content}
|
||||
onChange={(e) => {
|
||||
messageItem.content = e.target.value;
|
||||
commonStore.conversation[uuid].type = MessageType.Normal;
|
||||
commonStore.conversation[uuid].done = true;
|
||||
commonStore.setConversation(commonStore.conversation);
|
||||
commonStore.setConversationOrder([...commonStore.conversationOrder]);
|
||||
}}
|
||||
onBlur={() => {
|
||||
setEditingInner(false);
|
||||
|
Loading…
Reference in New Issue
Block a user