mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
added new label "sorted" which will keep children notes alphabetically sorted, fixes #82
This commit is contained in:
@@ -505,7 +505,13 @@ async function showTree() {
|
||||
initFancyTree(tree);
|
||||
}
|
||||
|
||||
messagingService.subscribeToMessages(syncData => {
|
||||
messagingService.subscribeToMessages(message => {
|
||||
if (message.type === 'refresh-tree') {
|
||||
reload();
|
||||
}
|
||||
});
|
||||
|
||||
messagingService.subscribeToSyncMessages(syncData => {
|
||||
if (syncData.some(sync => sync.entityName === 'branches')
|
||||
|| syncData.some(sync => sync.entityName === 'notes')) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user