This commit is contained in:
ammarahm-ed
2021-01-01 18:55:26 +05:00
parent a9ad579fc4
commit ce07ccb5cd
9 changed files with 105 additions and 58 deletions

View File

@@ -126,7 +126,10 @@ const MoveNoteComponent = ({close, note, setNote}) => {
if (note && note.id) {
setNote({...db.notes.note(note.id).data});
sendNoteEditedEvent(note.id);
sendNoteEditedEvent({
id: note.id,
forced: true,
});
}
dispatch({type: Actions.NOTEBOOKS});
@@ -146,7 +149,10 @@ const MoveNoteComponent = ({close, note, setNote}) => {
if (note && note.id) {
setNote({...db.notes.note(note.id).data});
sendNoteEditedEvent(note.id);
sendNoteEditedEvent({
id: note.id,
forced: true,
});
}
dispatch({type: Actions.NOTEBOOKS});
};