mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:07:21 +00:00
Upgraded to MudBlazor 9 (#1137)
This commit is contained in:
1 parent
e0337a99bc
commit
aeba1fbccc
625 files changed
+408
-882
No files matched your search
@@ -57,13 +57,13 @@ public partial class ProviderSelection : MSGComponentBase
|
||||
|
||||
#endregion
|
||||
|
||||
private async Task SelectionChanged(AIStudio.Settings.Provider provider)
|
||||
private async Task SelectionChanged(AIStudio.Settings.Provider? provider)
|
||||
{
|
||||
if (this.Disabled)
|
||||
return;
|
||||
|
||||
this.ProviderSettings = provider;
|
||||
await this.ProviderSettingsChanged.InvokeAsync(provider);
|
||||
this.ProviderSettings = provider ?? AIStudio.Settings.Provider.NONE;
|
||||
await this.ProviderSettingsChanged.InvokeAsync(this.ProviderSettings);
|
||||
}
|
||||
|
||||
private IEnumerable<ProviderSelectionItem> GetAvailableProviderSelectionItems()
|
||||
|
||||
Reference in new issue
Block a user