Fixed data source editing; the security policy was not loaded

This commit is contained in:
Thorsten Sommer 2025-02-10 23:04:23 +01:00
parent e85a75aa96
commit 01e8b09101
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
3 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,7 @@ public partial class DataSourceERI_V1Dialog : ComponentBase, ISecretId
this.dataPort = this.DataSource.Port; this.dataPort = this.DataSource.Port;
this.dataAuthMethod = this.DataSource.AuthMethod; this.dataAuthMethod = this.DataSource.AuthMethod;
this.dataUsername = this.DataSource.Username; this.dataUsername = this.DataSource.Username;
this.dataSecurityPolicy = this.DataSource.SecurityPolicy;
if (this.dataAuthMethod is AuthMethod.TOKEN or AuthMethod.USERNAME_PASSWORD) if (this.dataAuthMethod is AuthMethod.TOKEN or AuthMethod.USERNAME_PASSWORD)
{ {

View File

@ -76,6 +76,7 @@ public partial class DataSourceLocalDirectoryDialog : ComponentBase
this.dataName = this.DataSource.Name; this.dataName = this.DataSource.Name;
this.dataEmbeddingId = this.DataSource.EmbeddingId; this.dataEmbeddingId = this.DataSource.EmbeddingId;
this.dataPath = this.DataSource.Path; this.dataPath = this.DataSource.Path;
this.dataSecurityPolicy = this.DataSource.SecurityPolicy;
} }
await base.OnInitializedAsync(); await base.OnInitializedAsync();

View File

@ -76,6 +76,7 @@ public partial class DataSourceLocalFileDialog : ComponentBase
this.dataName = this.DataSource.Name; this.dataName = this.DataSource.Name;
this.dataEmbeddingId = this.DataSource.EmbeddingId; this.dataEmbeddingId = this.DataSource.EmbeddingId;
this.dataFilePath = this.DataSource.FilePath; this.dataFilePath = this.DataSource.FilePath;
this.dataSecurityPolicy = this.DataSource.SecurityPolicy;
} }
await base.OnInitializedAsync(); await base.OnInitializedAsync();