mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix: minor fixes with migration
This commit is contained in:
@@ -35,7 +35,7 @@ export const migrations = {
|
||||
const notebook = item.notebook;
|
||||
delete item.notebook;
|
||||
if (notebook && notebook.id && notebook.topic) {
|
||||
notebook.topics = [notebook.topics];
|
||||
notebook.topics = [notebook.topic];
|
||||
delete notebook.topic;
|
||||
item.notebooks = [notebook];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user