1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix permanently deleting note

- Permanently deleting note would not remove note from list until after
refresh
- Fix so permanently deleted note is removed list
This commit is contained in:
Andy Klimczak
2018-01-29 21:51:57 -05:00
parent 2259167200
commit d894bb4aab
2 changed files with 2 additions and 4 deletions

View File

@@ -210,11 +210,10 @@ class MarkdownNoteDetail extends React.Component {
}, () => {
this.save()
})
}
}
ee.emit('list:next')
}
}
}
handleUndoButtonClick (e) {
const { note } = this.state

View File

@@ -203,11 +203,10 @@ class SnippetNoteDetail extends React.Component {
}, () => {
this.save()
})
}
}
ee.emit('list:next')
}
}
}
handleUndoButtonClick (e) {
const { note } = this.state