mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 15:59:48 +00:00
Fixed a bug when loading an old chat first & the data selection component showed the loading animation
This commit is contained in:
parent
45cf77c1a7
commit
c135568940
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user