mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-15 11:41: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;
|
continue;
|
||||||
|
|
||||||
if (!await FileExtensionValidation.IsExtensionValidWithNotifyAsync(selectedFilePath))
|
if (!await FileExtensionValidation.IsExtensionValidWithNotifyAsync(selectedFilePath))
|
||||||
return;
|
continue;
|
||||||
|
|
||||||
this.DocumentPaths.Add(selectedFilePath);
|
this.DocumentPaths.Add(selectedFilePath);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user