mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 05:33:48 +00:00
Sort attachments by folder so each folder is named once
This commit is contained in:
2 files changed
+16
-1
No files matched your search
@@ -31,7 +31,7 @@
|
||||
|
||||
@{
|
||||
var currentFolder = string.Empty;
|
||||
foreach (var fileAttachment in this.DocumentPaths)
|
||||
foreach (var fileAttachment in this.OrderedAttachments)
|
||||
{
|
||||
var folderPath = Path.GetDirectoryName(fileAttachment.FilePath);
|
||||
if (folderPath != currentFolder)
|
||||
|
||||
Reference in new issue
Block a user