mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 18:09:07 +08:00
### What problem does this PR solve? Fix: Rename chat name, missing field 'avatar' #4125 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
bc3288d390
commit
61790ebe15
@ -340,6 +340,7 @@ export const useUpdateNextConversation = () => {
|
||||
});
|
||||
if (data.code === 0) {
|
||||
queryClient.invalidateQueries({ queryKey: ['fetchConversationList'] });
|
||||
message.success(i18n.t(`message.modified`));
|
||||
}
|
||||
return data;
|
||||
},
|
||||
|
@ -535,7 +535,6 @@ export const useRenameConversation = () => {
|
||||
const onConversationRenameOk = useCallback(
|
||||
async (name: string) => {
|
||||
const ret = await updateConversation({
|
||||
...conversation,
|
||||
conversation_id: conversation.id,
|
||||
name,
|
||||
is_new: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user