mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 13:49:07 +00:00
Fixed an issue with the workspace title not being updated (#269)
This commit is contained in:
parent
be408a6aee
commit
1681405fb9
@ -49,7 +49,7 @@
|
|||||||
@bind-ChatThread="@this.chatThread"
|
@bind-ChatThread="@this.chatThread"
|
||||||
@bind-Provider="@this.providerSettings"
|
@bind-Provider="@this.providerSettings"
|
||||||
Workspaces="@this.workspaces"
|
Workspaces="@this.workspaces"
|
||||||
WorkspaceName="name => this.currentWorkspaceName = name"/>
|
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>
|
||||||
</EndContent>
|
</EndContent>
|
||||||
</MudSplitter>
|
</MudSplitter>
|
||||||
}
|
}
|
||||||
@ -67,7 +67,7 @@
|
|||||||
@bind-ChatThread="@this.chatThread"
|
@bind-ChatThread="@this.chatThread"
|
||||||
@bind-Provider="@this.providerSettings"
|
@bind-Provider="@this.providerSettings"
|
||||||
Workspaces="@this.workspaces"
|
Workspaces="@this.workspaces"
|
||||||
WorkspaceName="name => this.currentWorkspaceName = name"/>
|
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>
|
||||||
</MudStack>
|
</MudStack>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -77,7 +77,7 @@
|
|||||||
@bind-ChatThread="@this.chatThread"
|
@bind-ChatThread="@this.chatThread"
|
||||||
@bind-Provider="@this.providerSettings"
|
@bind-Provider="@this.providerSettings"
|
||||||
Workspaces="@this.workspaces"
|
Workspaces="@this.workspaces"
|
||||||
WorkspaceName="name => this.currentWorkspaceName = name"/>
|
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>
|
||||||
}
|
}
|
||||||
|
|
||||||
@if (
|
@if (
|
||||||
|
@ -74,6 +74,12 @@ public partial class Chat : MSGComponentBase
|
|||||||
|
|
||||||
private double ReadSplitterPosition => this.AreWorkspacesHidden ? 6 : this.splitterPosition;
|
private double ReadSplitterPosition => this.AreWorkspacesHidden ? 6 : this.splitterPosition;
|
||||||
|
|
||||||
|
private void UpdateWorkspaceName(string workspaceName)
|
||||||
|
{
|
||||||
|
this.currentWorkspaceName = workspaceName;
|
||||||
|
this.StateHasChanged();
|
||||||
|
}
|
||||||
|
|
||||||
#region Overrides of MSGComponentBase
|
#region Overrides of MSGComponentBase
|
||||||
|
|
||||||
public override string ComponentName => nameof(Chat);
|
public override string ComponentName => nameof(Chat);
|
||||||
|
@ -3,4 +3,5 @@
|
|||||||
- Improved message process debugging. This helps to identify issues related to the message handling.
|
- 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 the hostname validation message for ERI v1 data sources.
|
||||||
- Fixed a memory leak in the chat component.
|
- 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.
|
- Removed the "send to" button from the ERI server assistant, since it is not supported.
|
Loading…
Reference in New Issue
Block a user