Fixed null or empty check

This commit is contained in:
Thorsten Sommer 2025-11-13 15:49:29 +01:00
parent 12e27d7b65
commit ac72758aac
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -155,7 +155,7 @@ public partial class ProviderDialog : MSGComponentBase, ISecretId
this.UsedInstanceNames = this.SettingsManager.ConfigurationData.Providers.Select(x => x.InstanceName.ToLowerInvariant()).ToList(); this.UsedInstanceNames = this.SettingsManager.ConfigurationData.Providers.Select(x => x.InstanceName.ToLowerInvariant()).ToList();
#pragma warning restore MWAIS0001 #pragma warning restore MWAIS0001
this.showExpertProviderSettings = !string.IsNullOrEmpty(this.ExpertProviderApiParameters); this.showExpertProviderSettings = !string.IsNullOrWhiteSpace(this.ExpertProviderApiParameters);
// When editing, we need to load the data: // When editing, we need to load the data:
if(this.IsEditing) if(this.IsEditing)