refresh notebooks on moving a note

This commit is contained in:
ammarahm-ed
2020-09-15 11:25:03 +05:00
parent 937bea37c3
commit 11cc3d5bbb

View File

@@ -369,6 +369,8 @@ const MoveNoteDialog = () => {
); );
console.log(res); console.log(res);
dispatch({type: ACTIONS.CLEAR_SELECTION}); dispatch({type: ACTIONS.CLEAR_SELECTION});
dispatch({type: ACTIONS.NOTEBOOKS});
dispatch({type: ACTIONS.PINNED});
close(); close();
let notebookName = db.notebooks.notebook( let notebookName = db.notebooks.notebook(
item.notebookId, item.notebookId,