fix migration of bookmarks to also migrate bookmarkFolder #3514

This commit is contained in:
zadam 2023-01-13 08:43:18 +01:00
parent 4f4c3ef3f3
commit e7b3c3239b

View file

@ -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');
}
});
};