From 243319a0db9ea75562701d67a02587bcbbd1a2dd Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sun, 18 Jan 2026 20:31:26 +0100 Subject: [PATCH] Simplified syntax --- app/MindWork AI Studio/Components/ChatComponent.razor.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/MindWork AI Studio/Components/ChatComponent.razor.cs b/app/MindWork AI Studio/Components/ChatComponent.razor.cs index 43bc1b29..ed37e54d 100644 --- a/app/MindWork AI Studio/Components/ChatComponent.razor.cs +++ b/app/MindWork AI Studio/Components/ChatComponent.razor.cs @@ -97,10 +97,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable // Use chat thread sent by the user: this.ChatThread = deferredContent; - this.ChatThread = this.ChatThread with - { - IncludeDateTime = true, - }; + this.ChatThread.IncludeDateTime = true; this.Logger.LogInformation($"The chat '{this.ChatThread.ChatId}' with {this.ChatThread.Blocks.Count} messages was deferred and will be rendered now."); await this.ChatThreadChanged.InvokeAsync(this.ChatThread);