diff --git a/manifest.json b/manifest.json index dfc9e74..372c08e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "custom-sort", "name": "Custom File Explorer sorting", - "version": "2.1.7", + "version": "2.1.8", "minAppVersion": "0.16.2", "description": "Allows for manual and automatic, config-driven reordering and sorting of files and folders in File Explorer", "author": "SebastianMC", diff --git a/package.json b/package.json index edc4249..7fd8ba2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-custom-sort", - "version": "2.1.7", + "version": "2.1.8", "description": "Custom Sort plugin for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": { diff --git a/src/custom-sort/custom-sort.ts b/src/custom-sort/custom-sort.ts index 3476cfc..18880d7 100644 --- a/src/custom-sort/custom-sort.ts +++ b/src/custom-sort/custom-sort.ts @@ -653,7 +653,7 @@ export const determineDatesForFolder = (folder: TFolder, recursive?: boolean): [ if (recursive) { (Vault?.recurseChildren ?? recurseChildrenForUnitTests)(folder, checkFile) } else { - folder.children.forEach((item) => checkFile(item)) + folder.children.forEach(checkFile) } return [mtimeOfFolder, ctimeOfFolder] } diff --git a/versions.json b/versions.json index 73efd7c..e44b0ff 100644 --- a/versions.json +++ b/versions.json @@ -40,5 +40,6 @@ "2.1.3": "0.16.2", "2.1.4": "0.16.2", "2.1.5": "0.16.2", - "2.1.7": "0.16.2" + "2.1.7": "0.16.2", + "2.1.8": "0.16.2" }