Skip to content

Commit

Permalink
RunFinder - show all levels
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Jan 31, 2022
1 parent b852df5 commit 1a0ed13
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/js/RunFinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,10 @@ const fetchFolders = async function (
store.commit('updateRunFolders', foundFolders)
localStorage.setItem('RunFinder.foundFolders', JSON.stringify(foundFolders.folders))

// // only recurse one deep, for now
if (deep < 1) {
for (const dir of realDirs) {
fetchFolders(root, fileSystem, `${folder}/${dir}`, deep + 1)
}
// if (deep < 1) {
for (const dir of realDirs) {
fetchFolders(root, fileSystem, `${folder}/${dir}`, deep + 1)
// }
}
} catch (e) {
console.warn(e)
Expand Down

0 comments on commit 1a0ed13

Please sign in to comment.