diff --git a/frontend/note.js b/frontend/note.js index 76cc4bc..91d2c53 100644 --- a/frontend/note.js +++ b/frontend/note.js @@ -76,7 +76,7 @@ class Note { applyFilter(filter) { const name = this.#name.toLowerCase(); - const content = this.#name.toLowerCase(); + const content = this.#content.toLowerCase(); if ((name.includes(filter)) || (content.includes(filter))) { this.#list_item.classList.remove('hidden'); }