mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-13 00:01:37 +00:00
Fixed bug for file extension validation
This commit is contained in:
parent
fae9a56d7e
commit
0d4602aa7b
@ -158,7 +158,7 @@ public partial class AttachDocuments : MSGComponentBase
|
||||
continue;
|
||||
|
||||
if (!await FileExtensionValidation.IsExtensionValidWithNotifyAsync(selectedFilePath))
|
||||
return;
|
||||
continue;
|
||||
|
||||
this.DocumentPaths.Add(selectedFilePath);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user