From 3c6ab6a9707fe8451152b5954708c0aaf499fcc0 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 17 Dec 2025 13:14:31 +0100 Subject: [PATCH] Removed unused variable & unnecessary conversion --- app/MindWork AI Studio/Components/AttachDocuments.razor | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/MindWork AI Studio/Components/AttachDocuments.razor b/app/MindWork AI Studio/Components/AttachDocuments.razor index 424a90d5..1a1bbfd5 100644 --- a/app/MindWork AI Studio/Components/AttachDocuments.razor +++ b/app/MindWork AI Studio/Components/AttachDocuments.razor @@ -3,10 +3,7 @@ @if (this.UseSmallForm) {
- @{ - var fileInfos = this.DocumentPaths.Select(file => new FileInfo(file)).ToList(); - } - @if (fileInfos.Any()) + @if (this.DocumentPaths.Any()) {