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:
@@ -210,11 +210,10 @@ class MarkdownNoteDetail extends React.Component {
|
||||
}, () => {
|
||||
this.save()
|
||||
})
|
||||
|
||||
}
|
||||
}
|
||||
ee.emit('list:next')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handleUndoButtonClick (e) {
|
||||
const { note } = this.state
|
||||
|
||||
@@ -203,11 +203,10 @@ class SnippetNoteDetail extends React.Component {
|
||||
}, () => {
|
||||
this.save()
|
||||
})
|
||||
|
||||
}
|
||||
}
|
||||
ee.emit('list:next')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handleUndoButtonClick (e) {
|
||||
const { note } = this.state
|
||||
|
||||
Reference in New Issue
Block a user