Fixed a bug when loading an old chat first & the data selection component showed the loading animation

This commit is contained in:
Thorsten Sommer 2025-02-15 15:38:52 +01:00
parent 45cf77c1a7
commit c135568940
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -136,6 +136,7 @@ public partial class DataSourceSelection : ComponentBase, IMessageBusReceiver, I
this.aiBasedValidation = this.DataSourceOptions.AutomaticValidation; this.aiBasedValidation = this.DataSourceOptions.AutomaticValidation;
this.areDataSourcesEnabled = !this.DataSourceOptions.DisableDataSources; this.areDataSourcesEnabled = !this.DataSourceOptions.DisableDataSources;
this.selectedDataSources = this.SettingsManager.ConfigurationData.DataSources.Where(ds => this.DataSourceOptions.PreselectedDataSourceIds.Contains(ds.Id)).ToList(); this.selectedDataSources = this.SettingsManager.ConfigurationData.DataSources.Where(ds => this.DataSourceOptions.PreselectedDataSourceIds.Contains(ds.Id)).ToList();
this.waitingForDataSources = false;
// //
// Remark: We do not apply the filters here. This is done later // Remark: We do not apply the filters here. This is done later