Fix premature return when TODOs found.

This commit is contained in:
Sergio Martínez Portela 2022-10-26 22:45:50 +02:00
parent 25a65253dd
commit 9053bf30f6

View File

@ -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');