Commit 09d67bc 1 parent 1681405 commit 09d67bc Copy full SHA for 09d67bc
File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,13 @@ protected override async Task OnInitializedAsync()
123
123
this . mustLoadChat = true ;
124
124
this . Logger . LogInformation ( $ "The loading of the chat '{ this . loadChat . ChatId } ' was deferred and will be loaded now.") ;
125
125
}
126
+
127
+ if ( this . ChatThread is not null )
128
+ {
129
+ this . currentWorkspaceId = this . ChatThread . WorkspaceId ;
130
+ this . currentWorkspaceName = await WorkspaceBehaviour . LoadWorkspaceName ( this . ChatThread . WorkspaceId ) ;
131
+ this . WorkspaceName ( this . currentWorkspaceName ) ;
132
+ }
126
133
127
134
await this . SelectProviderWhenLoadingChat ( ) ;
128
135
await base . OnInitializedAsync ( ) ;
@@ -538,14 +545,15 @@ private async Task LoadedChatChanged()
538
545
this . currentWorkspaceName = string . Empty ;
539
546
this . WorkspaceName ( this . currentWorkspaceName ) ;
540
547
}
541
-
548
+
542
549
await this . SelectProviderWhenLoadingChat ( ) ;
543
550
if ( this . SettingsManager . ConfigurationData . Chat . ShowLatestMessageAfterLoading )
544
551
{
545
552
this . mustScrollToBottomAfterRender = true ;
546
553
this . scrollRenderCountdown = 2 ;
547
- this . StateHasChanged ( ) ;
548
554
}
555
+
556
+ this . StateHasChanged ( ) ;
549
557
}
550
558
551
559
private async Task ResetState ( )
Original file line number Diff line number Diff line change 3
3
- Improved message process debugging. This helps to identify issues related to the message handling.
4
4
- Fixed the hostname validation message for ERI v1 data sources.
5
5
- Fixed a memory leak in the chat component.
6
- - Fixed an issue with the workspace title not being updated when a chat was moved to another workspace.
6
+ - Fixed an issue with the workspace title not being updated when a chat was moved to another workspace.
7
+ - Fixed an issue with the chat component not loading the current workspace name when the component was refreshed.
7
8
- Removed the "send to" button from the ERI server assistant, since it is not supported.
You can’t perform that action at this time.
0 commit comments