From dd70202ff326b54f038ce0f0104a6b185041d2dd Mon Sep 17 00:00:00 2001 From: Paul Koudelka Date: Wed, 1 Apr 2026 16:14:50 +0200 Subject: [PATCH] changed styling issues --- app/MindWork AI Studio/Chat/FileAttachment.cs | 2 +- app/MindWork AI Studio/Components/AttachDocuments.razor.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/MindWork AI Studio/Chat/FileAttachment.cs b/app/MindWork AI Studio/Chat/FileAttachment.cs index 7c776a75..1249e872 100644 --- a/app/MindWork AI Studio/Chat/FileAttachment.cs +++ b/app/MindWork AI Studio/Chat/FileAttachment.cs @@ -90,7 +90,7 @@ public record FileAttachment(FileAttachmentType Type, string FileName, string Fi if (FileTypes.IsAllowedPath(filePath, FileTypes.IMAGE)) return FileAttachmentType.IMAGE; - // Check if it's an audio file + // Check if it's an audio file: if (FileTypes.IsAllowedPath(filePath, FileTypes.AUDIO)) return FileAttachmentType.AUDIO; diff --git a/app/MindWork AI Studio/Components/AttachDocuments.razor.cs b/app/MindWork AI Studio/Components/AttachDocuments.razor.cs index dded52be..e55bada8 100644 --- a/app/MindWork AI Studio/Components/AttachDocuments.razor.cs +++ b/app/MindWork AI Studio/Components/AttachDocuments.razor.cs @@ -181,7 +181,7 @@ public partial class AttachDocuments : MSGComponentBase { if(!await FileExtensionValidation.IsExtensionValidWithNotifyAsync(FileExtensionValidation.UseCase.ATTACHING_CONTENT, path, this.ValidateMediaFileTypes, this.Provider)) continue; - + this.DocumentPaths.Add(FileAttachment.FromPath(path)); }