This commit is contained in:
Igor Katson 2024-04-18 19:10:34 +01:00
parent b55d41e9bd
commit 3d4b2b1976
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ const newFileTree = (
directFiles.push(file);
return;
}
getGroup(file.pathComponents[0]).push(file);
getGroup(file.pathComponents[depth]).push(file);
});
directFiles = sortBy(directFiles, (f) => f.filename);