Fixed an issue with the workspace title not being updated (#269)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-01-21 18:58:20 +01:00
1 parent be408a6aee
commit 1681405fb9
3 files changed
+10 -3

No files matched your search

+3 -3
View File
@@ -49,7 +49,7 @@
@bind-ChatThread="@this.chatThread"
@bind-Provider="@this.providerSettings"
Workspaces="@this.workspaces"
WorkspaceName="name => this.currentWorkspaceName = name"/>
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>
</EndContent>
</MudSplitter>
}
@@ -67,7 +67,7 @@
@bind-ChatThread="@this.chatThread"
@bind-Provider="@this.providerSettings"
Workspaces="@this.workspaces"
WorkspaceName="name => this.currentWorkspaceName = name"/>
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>
</MudStack>
}
else
@@ -77,7 +77,7 @@
@bind-ChatThread="@this.chatThread"
@bind-Provider="@this.providerSettings"
Workspaces="@this.workspaces"
WorkspaceName="name => this.currentWorkspaceName = name"/>
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>
}
@if (
@@ -73,6 +73,12 @@ public partial class Chat : MSGComponentBase
}
private double ReadSplitterPosition => this.AreWorkspacesHidden ? 6 : this.splitterPosition;
private void UpdateWorkspaceName(string workspaceName)
{
this.currentWorkspaceName = workspaceName;
this.StateHasChanged();
}
#region Overrides of MSGComponentBase
@@ -3,4 +3,5 @@
- Improved message process debugging. This helps to identify issues related to the message handling.
- Fixed the hostname validation message for ERI v1 data sources.
- Fixed a memory leak in the chat component.
- Fixed an issue with the workspace title not being updated when a chat was moved to another workspace.
- Removed the "send to" button from the ERI server assistant, since it is not supported.