fix migration of bookmarks to also migrate bookmarkFolder #3514

pull/255/head
zadam 2023-01-13 08:43:18 +07:00
parent 4f4c3ef3f3
commit e7b3c3239b
1 changed files with 5 additions and 0 deletions

@ -12,5 +12,10 @@ module.exports = () => {
attr.markAsDeleted("0204__migrate_bookmarks_to_clones");
}
// bookmarkFolder used to work in 0.57 without the bookmarked label
for (const attr of becca.findAttributes('label','bookmarkFolder')) {
cloningService.toggleNoteInParent(true, attr.noteId, '_lbBookmarks');
}
});
};