mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-04 13:02: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;
|
return;
|
||||||
|
|
||||||
chat.Name = (dialogResult.Data as string)!;
|
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.StoreChat(chat);
|
||||||
await this.LoadTreeItems();
|
await this.LoadTreeItems();
|
||||||
}
|
}
|
||||||
|
@ -3,3 +3,4 @@
|
|||||||
- Improved localization code & German translation.
|
- 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 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 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