mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
core: update core version to 5.8
This commit is contained in:
committed by
Abdullah Atta
parent
0a94ee7c60
commit
f3fa7fe744
@@ -30,16 +30,12 @@ class Migrator {
|
||||
continue;
|
||||
}
|
||||
|
||||
// check if item is permanently deleted or just a soft delete
|
||||
if (item.deleted && !item.type) {
|
||||
await collection.dbCollection?._collection?.addItem(item);
|
||||
continue;
|
||||
}
|
||||
|
||||
// temporary fix for streetwriters/notesnook#751
|
||||
if (item.type === "content") {
|
||||
item.type = "tiptap";
|
||||
}
|
||||
|
||||
item = await migrateItem(
|
||||
item,
|
||||
version,
|
||||
|
||||
Reference in New Issue
Block a user