mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-05 04:29:40 +00:00
Migrate to MudBlazor v7.x.x (#41)
This commit is contained in:
1 parent
a956b55d6b
commit
5250e5d2fb
27 files changed
+253
-151
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Tools;
|
||||
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
@@ -23,7 +24,12 @@ public partial class ConfigurationBase : ComponentBase
|
||||
public string OptionHelp { get; set; } = string.Empty;
|
||||
|
||||
[Inject]
|
||||
public SettingsManager SettingsManager { get; init; } = null!;
|
||||
protected SettingsManager SettingsManager { get; init; } = null!;
|
||||
|
||||
[Inject]
|
||||
protected MessageBus MessageBus { get; init; } = null!;
|
||||
|
||||
protected const string MARGIN_CLASS = "mb-6";
|
||||
|
||||
protected async Task InformAboutChange() => await this.MessageBus.SendMessage<bool>(this, Event.CONFIGURATION_CHANGED);
|
||||
}
|
||||
Reference in new issue
Block a user