mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Fix so that linesHighlighted defaults to [] when does't find it
This commit is contained in:
@@ -118,6 +118,8 @@ function updateNote (storageKey, noteKey, input) {
|
||||
|
||||
if (noteData.type === 'SNIPPET_NOTE') {
|
||||
noteData.title
|
||||
if(noteData.linesHighlighted = null)
|
||||
noteData.linesHighlighted = [];
|
||||
}
|
||||
|
||||
Object.assign(noteData, input, {
|
||||
|
||||
Reference in New Issue
Block a user