mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Merge pull request #768 from sebastienjust/master
Notebooks list is sorted alphabetically as default
This commit is contained in:
commit
cda8b95bfa
@ -3,7 +3,13 @@ const Folder = require('lib/models/Folder.js');
|
||||
class FoldersScreenUtils {
|
||||
|
||||
static async refreshFolders() {
|
||||
let initialFolders = await Folder.all({ includeConflictFolder: true });
|
||||
let initialFolders = await Folder.all({
|
||||
includeConflictFolder: true,
|
||||
order: [{
|
||||
by: "title",
|
||||
dir: "asc"
|
||||
}]
|
||||
});
|
||||
|
||||
this.dispatch({
|
||||
type: 'FOLDER_UPDATE_ALL',
|
||||
|
Loading…
Reference in New Issue
Block a user