You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-12 22:57:38 +02:00
Desktop: Fixed: The side bar was being refreshed too frequently. Fixed: Order of notebooks with sub-notebooks was sometimes incorrect when sorting by last updated time.
This commit is contained in:
@ -134,7 +134,12 @@ class Folder extends BaseItem {
|
||||
const parent = findFolderParent(folderId);
|
||||
if (!parent) return;
|
||||
|
||||
folderIdToTime[parent.id] = folderIdToTime[folderId];
|
||||
if (folderIdToTime[parent.id] && folderIdToTime[parent.id] >= folderIdToTime[folderId]) {
|
||||
// Don't change so that parent has the same time as the last updated child
|
||||
} else {
|
||||
folderIdToTime[parent.id] = folderIdToTime[folderId];
|
||||
}
|
||||
|
||||
applyChildTimeToParent(parent.id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user