mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:39:48 +00:00
Fixed data source editing; the security policy was not loaded
This commit is contained in:
parent
e85a75aa96
commit
01e8b09101
@ -98,6 +98,7 @@ public partial class DataSourceERI_V1Dialog : ComponentBase, ISecretId
|
||||
this.dataPort = this.DataSource.Port;
|
||||
this.dataAuthMethod = this.DataSource.AuthMethod;
|
||||
this.dataUsername = this.DataSource.Username;
|
||||
this.dataSecurityPolicy = this.DataSource.SecurityPolicy;
|
||||
|
||||
if (this.dataAuthMethod is AuthMethod.TOKEN or AuthMethod.USERNAME_PASSWORD)
|
||||
{
|
||||
|
@ -76,6 +76,7 @@ public partial class DataSourceLocalDirectoryDialog : ComponentBase
|
||||
this.dataName = this.DataSource.Name;
|
||||
this.dataEmbeddingId = this.DataSource.EmbeddingId;
|
||||
this.dataPath = this.DataSource.Path;
|
||||
this.dataSecurityPolicy = this.DataSource.SecurityPolicy;
|
||||
}
|
||||
|
||||
await base.OnInitializedAsync();
|
||||
|
@ -76,6 +76,7 @@ public partial class DataSourceLocalFileDialog : ComponentBase
|
||||
this.dataName = this.DataSource.Name;
|
||||
this.dataEmbeddingId = this.DataSource.EmbeddingId;
|
||||
this.dataFilePath = this.DataSource.FilePath;
|
||||
this.dataSecurityPolicy = this.DataSource.SecurityPolicy;
|
||||
}
|
||||
|
||||
await base.OnInitializedAsync();
|
||||
|
Loading…
Reference in New Issue
Block a user