Sort attachments by folder so each folder is named once

This commit is contained in:
Thorsten Sommer committed 2026-09-13 17:15:32 +02:00
1 parent fbe3fdda4b
commit 4b5bf98847
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)