mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-13 09:14:12 +00:00
changed styling issues
This commit is contained in:
parent
1496b5e591
commit
dd70202ff3
@ -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;
|
||||
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user