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()) {