You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Clipper: Fixes #1417: Sort the folders in the same order as the desktop app
This commit is contained in:
@ -189,8 +189,8 @@ class Folder extends BaseItem {
|
||||
return output;
|
||||
}
|
||||
|
||||
static async allAsTree(options = null) {
|
||||
const all = await this.all(options);
|
||||
static async allAsTree(folders = null, options = null) {
|
||||
const all = folders ? folders : await this.all(options);
|
||||
|
||||
// https://stackoverflow.com/a/49387427/561309
|
||||
function getNestedChildren(models, parentId) {
|
||||
|
Reference in New Issue
Block a user