mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 08:19:47 +00:00
Notify the user when there are issues when removing a provider
This commit is contained in:
parent
6185db733a
commit
b412b41f59
@ -105,6 +105,8 @@ public partial class SettingsPanelProviders : SettingsPanelBase
|
||||
this.SettingsManager.ConfigurationData.Providers.Remove(provider);
|
||||
await this.SettingsManager.StoreSettings();
|
||||
}
|
||||
else
|
||||
await this.MessageBus.SendError(new(Icons.Material.Filled.Error, deleteSecretResponse.Issue));
|
||||
|
||||
await this.UpdateProviders();
|
||||
await this.MessageBus.SendMessage<bool>(this, Event.CONFIGURATION_CHANGED);
|
||||
|
Loading…
Reference in New Issue
Block a user