mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 08:19:47 +00:00
Refactor Assistants to inherit from MSGComponentBase
This commit is contained in:
parent
6e0deb4e64
commit
8914e20a83
@ -1,6 +1,7 @@
|
||||
@using AIStudio.Dialogs.Settings
|
||||
@using AIStudio.Settings.DataModel
|
||||
@attribute [Route(Routes.ASSISTANTS)]
|
||||
@inherits MSGComponentBase
|
||||
|
||||
<div class="inner-scrolling-context">
|
||||
<MudText Typo="Typo.h3" Class="mb-2 mr-3">
|
||||
|
@ -1,11 +1,12 @@
|
||||
using AIStudio.Settings;
|
||||
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using AIStudio.Components;
|
||||
|
||||
namespace AIStudio.Pages;
|
||||
|
||||
public partial class Assistants : ComponentBase
|
||||
public partial class Assistants : MSGComponentBase
|
||||
{
|
||||
[Inject]
|
||||
public SettingsManager SettingsManager { get; set; } = null!;
|
||||
#region Overrides of MSGComponentBase
|
||||
|
||||
public override string ComponentName => nameof(Assistants);
|
||||
|
||||
#endregion
|
||||
}
|
Loading…
Reference in New Issue
Block a user