Refactor MSGComponentBase to a new namespace

This commit is contained in:
Thorsten Sommer 2024-07-14 15:18:27 +02:00
parent a5ebce4815
commit 85e429b9ee
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
3 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
@inherits AIStudio.Tools.MSGComponentBase @inherits MSGComponentBase
<div class="d-flex flex-column" style="@this.Height"> <div class="d-flex flex-column" style="@this.Height">
<div class="flex-auto overflow-auto"> <div class="flex-auto overflow-auto">

View File

@ -1,6 +1,8 @@
using AIStudio.Tools;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
namespace AIStudio.Tools; namespace AIStudio.Components;
public abstract class MSGComponentBase : ComponentBase, IDisposable, IMessageBusReceiver public abstract class MSGComponentBase : ComponentBase, IDisposable, IMessageBusReceiver
{ {

View File

@ -2,7 +2,7 @@
@using AIStudio.Chat @using AIStudio.Chat
@using AIStudio.Settings @using AIStudio.Settings
@inherits AIStudio.Tools.MSGComponentBase @inherits MSGComponentBase
<MudText Typo="Typo.h3" Class="mb-2 mr-3"> <MudText Typo="Typo.h3" Class="mb-2 mr-3">
@if (this.chatThread is not null && this.chatThread.WorkspaceId != Guid.Empty) @if (this.chatThread is not null && this.chatThread.WorkspaceId != Guid.Empty)