mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 11:40:21 +00:00 
			
		
		
		
	Refactor MSGComponentBase to a new namespace
This commit is contained in:
		
							parent
							
								
									a5ebce4815
								
							
						
					
					
						commit
						85e429b9ee
					
				@ -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">
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
@ -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)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user