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