mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 04:27: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
@@ -53,8 +53,12 @@ public partial class ConfigurationSelect<TConfig> : ConfigurationBaseCore
|
||||
|
||||
#endregion
|
||||
|
||||
private async Task OptionChanged(TConfig updatedValue)
|
||||
private async Task OptionChanged(TConfig? updatedValue)
|
||||
{
|
||||
// The select hands out null only when it has no value at all, which leaves nothing to store:
|
||||
if (updatedValue is null)
|
||||
return;
|
||||
|
||||
this.SelectionUpdate(updatedValue);
|
||||
await this.SelectionUpdateAsync(updatedValue);
|
||||
await this.SettingsManager.StoreSettings();
|
||||
|
||||
Reference in new issue
Block a user