From 4f826fa5914d213fd9034b7be241fdffe4a3eb66 Mon Sep 17 00:00:00 2001 From: Nils Kruthoff Date: Tue, 15 Sep 2026 14:18:14 +0200 Subject: [PATCH] added footer actions to the assistant base component --- app/MindWork AI Studio/Assistants/AssistantBase.razor | 7 ++++++- app/MindWork AI Studio/Assistants/AssistantBase.razor.cs | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/MindWork AI Studio/Assistants/AssistantBase.razor b/app/MindWork AI Studio/Assistants/AssistantBase.razor index 3a866034..b6da8421 100644 --- a/app/MindWork AI Studio/Assistants/AssistantBase.razor +++ b/app/MindWork AI Studio/Assistants/AssistantBase.razor @@ -183,9 +183,14 @@ } + @if (this.FooterActions is not null) + { + @this.FooterActions + } + - \ No newline at end of file + diff --git a/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs b/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs index a3939cf4..8b5b6739 100644 --- a/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs +++ b/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs @@ -125,6 +125,8 @@ public abstract partial class AssistantBase : AssistantLowerBase wher private protected virtual RenderFragment? HeaderActions => null; + private protected virtual RenderFragment? FooterActions => null; + private protected virtual RenderFragment? AfterResultContent => null; protected virtual IReadOnlyList FooterButtons => [];