Correctly filter current files listed from archive directory
parent
8d399d11e6
commit
3f7a47687c
|
@ -365,7 +365,7 @@
|
|||
var entries = await ArchiveService.GetContents(ArchiveId);
|
||||
var separator = '/';
|
||||
|
||||
foreach (var entry in entries)
|
||||
foreach (var entry in entries.Where(e => e.FullName != Path.Path && e.FullName.StartsWith(Path.Path) && !e.FullName.Substring(Path.Path.Length).TrimEnd(separator).Contains(separator)))
|
||||
{
|
||||
if (entry.FullName.EndsWith(separator))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue