Skip to content

Commit

Permalink
Update pageNavigator.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor authored Apr 4, 2024
1 parent 2406d5f commit 2df1f05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/includes/pageNavigator.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ function arrayFlatten(navItems) {
return navItems.reduce((result, item) => {
if (item.links) {
return result.concat(arrayFlatten(item.links));
} else {
return result.concat(item);
}
}
return result.concat(item);
}, []);
}
Expand Down

0 comments on commit 2df1f05

Please sign in to comment.