Fix premature return when TODOs found.
This commit is contained in:
parent
25a65253dd
commit
9053bf30f6
@ -82,7 +82,7 @@ function _codigoparallevar_enable_search_box(selector, options) {
|
|||||||
resultsList.innerHTML = '';
|
resultsList.innerHTML = '';
|
||||||
for (const note of body.results.notes) {
|
for (const note of body.results.notes) {
|
||||||
if (note.is_todo === "1") {
|
if (note.is_todo === "1") {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const resultCard = document.createElement('li');
|
const resultCard = document.createElement('li');
|
||||||
|
Loading…
Reference in New Issue
Block a user