You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Optimised saving notes
This commit is contained in:
@ -158,7 +158,7 @@ const reducer = (state = defaultState, action) => {
|
||||
for (let i = 0; i < newNotes.length; i++) {
|
||||
let n = newNotes[i];
|
||||
if (n.id == action.note.id) {
|
||||
newNotes[i] = action.note;
|
||||
newNotes[i] = Object.assign(newNotes[i], action.note);
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user