diff --git a/app/MindWork AI Studio/Components/AssistantBlock.razor b/app/MindWork AI Studio/Components/AssistantBlock.razor
index c3d33a98..f669ea24 100644
--- a/app/MindWork AI Studio/Components/AssistantBlock.razor
+++ b/app/MindWork AI Studio/Components/AssistantBlock.razor
@@ -50,13 +50,18 @@
{
}
- @this.AdditionalActions
- @if (this.SecurityBadge is not null)
+ @if (this.SecurityBadge is not null || this.AdditionalActions is not null)
{
-
- @this.SecurityBadge
-
+
+ @if (this.SecurityBadge is not null)
+ {
+
+ @this.SecurityBadge
+
+ }
+ @this.AdditionalActions
+
}