1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Fixed display issue when updating folder

This commit is contained in:
Laurent Cozic
2017-07-15 23:56:56 +01:00
parent 22cb2fdfbe
commit 4152fcec5e
2 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,7 @@ const reducer = (state = defaultState, action) => {
for (let i = 0; i < newFolders.length; i++) {
let n = newFolders[i];
if (n.id == action.folder.id) {
newFolders[i] = action.folder;
newFolders[i] = Object.assign(newFolders[i], action.folder);
found = true;
break;
}