From d406ad9aae1f96e3ce739fcd5b17d6bddd505144 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Thu, 4 Dec 2025 19:19:24 +0100 Subject: [PATCH] Removed unused code --- .../Components/AttachDocuments.razor.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/MindWork AI Studio/Components/AttachDocuments.razor.cs b/app/MindWork AI Studio/Components/AttachDocuments.razor.cs index 77e1f49a..6ed6b104 100644 --- a/app/MindWork AI Studio/Components/AttachDocuments.razor.cs +++ b/app/MindWork AI Studio/Components/AttachDocuments.razor.cs @@ -176,11 +176,7 @@ public partial class AttachDocuments : MSGComponentBase { { x => x.FilePath, file.FullName }, }; - - var dialogReference = await this.DialogService.ShowAsync(T("Document Preview"), dialogParameters, DialogOptions.FULLSCREEN); - var dialogResult = await dialogReference.Result; - //if (dialogResult is null || dialogResult.Canceled) - // return; - //return; + + await this.DialogService.ShowAsync(T("Document Preview"), dialogParameters, DialogOptions.FULLSCREEN); } } \ No newline at end of file