mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-04 09:22:57 +00:00
Fixed a rare bug regarding renaming chats (#465)
This commit is contained in:
parent
a548cabe24
commit
2e58ecb97d
@ -344,6 +344,13 @@ public partial class Workspaces : MSGComponentBase
|
||||
return;
|
||||
|
||||
chat.Name = (dialogResult.Data as string)!;
|
||||
if(this.CurrentChatThread?.ChatId == chat.ChatId)
|
||||
{
|
||||
this.CurrentChatThread.Name = chat.Name;
|
||||
await this.CurrentChatThreadChanged.InvokeAsync(this.CurrentChatThread);
|
||||
await MessageBus.INSTANCE.SendMessage<bool>(this, Event.WORKSPACE_LOADED_CHAT_CHANGED);
|
||||
}
|
||||
|
||||
await this.StoreChat(chat);
|
||||
await this.LoadTreeItems();
|
||||
}
|
||||
|
@ -3,3 +3,4 @@
|
||||
- Improved localization code & German translation.
|
||||
- Fixed a bug with text fields when their content was read live. This issue caused the user interface to refresh too frequently, resulting in increased energy consumption.
|
||||
- Fixed an issue that caused live translation to stop working.
|
||||
- Fixed a rare bug that could, under some circumstances, prevent the currently open chat from being renamed.
|
Loading…
Reference in New Issue
Block a user