mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
fix delete and empty trash
This commit is contained in:
@@ -297,7 +297,7 @@ function data (state = defaultDataMap(), action) {
|
||||
}
|
||||
case 'DELETE_NOTE':
|
||||
{
|
||||
const uniqueKey = action.storageKey + '-' + action.noteKey
|
||||
const uniqueKey = action.noteKey
|
||||
const targetNote = state.noteMap.get(uniqueKey)
|
||||
|
||||
state = Object.assign({}, state)
|
||||
|
||||
Reference in New Issue
Block a user