fix dialogs in notebook

This commit is contained in:
ammarahm-ed
2020-01-20 15:32:32 +05:00
parent 12192ebf52
commit f17da638fc
6 changed files with 233 additions and 208 deletions

View File

@@ -156,10 +156,11 @@ export const ActionSheetComponent = ({
break;
}
case 'topic': {
toAdd = db.getTopic(topic.notebookId, topic.title);
toAdd = db.getTopic(note.notebookId, note.title);
break;
}
}
if (!nodispatch) {
dispatch({type: type});
}