fixed: exclude events from grep results
This commit is contained in:
parent
4a30a5d728
commit
dda25e10d8
1
main.js
1
main.js
|
@ -1493,6 +1493,7 @@ function grep(needle)
|
||||||
var result = {};
|
var result = {};
|
||||||
|
|
||||||
localdata
|
localdata
|
||||||
|
.filter(note => note.title != "events.json")
|
||||||
.forEach(note =>
|
.forEach(note =>
|
||||||
{
|
{
|
||||||
if (note.title.toLowerCase().includes(needle.toLowerCase()))
|
if (note.title.toLowerCase().includes(needle.toLowerCase()))
|
||||||
|
|
Loading…
Reference in New Issue