mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
UPDATE_FOLDER & DELETE_FOLDER
fix store bug when creating note
This commit is contained in:
@@ -178,8 +178,11 @@ class NoteList extends React.Component {
|
||||
|
||||
let folderNoteKeyList = data.folderNoteMap
|
||||
.get(storage.key + '-' + folder.key)
|
||||
return folderNoteKeyList
|
||||
.map((uniqueKey) => data.noteMap.get(uniqueKey))
|
||||
|
||||
return folderNoteKeyList != null
|
||||
? folderNoteKeyList
|
||||
.map((uniqueKey) => data.noteMap.get(uniqueKey))
|
||||
: []
|
||||
}
|
||||
|
||||
handleNoteClick (uniqueKey) {
|
||||
|
||||
Reference in New Issue
Block a user