diff --git a/test/client/unit/specs/components/tasks/column.js b/test/client/unit/specs/components/tasks/column.js index 268fc08cd3..e1af3e0da6 100644 --- a/test/client/unit/specs/components/tasks/column.js +++ b/test/client/unit/specs/components/tasks/column.js @@ -145,17 +145,17 @@ describe('Task Column', () => { tasks = [ { text: 'Hello world 1', - note: '', + notes: '', checklist: [], }, { text: 'Hello world 2', - note: '', + notes: '', checklist: [], }, { text: 'Generic Task Title', - note: '', + notes: '', checklist: [ { text: 'Check 1' }, { text: 'Check 2' }, @@ -164,7 +164,7 @@ describe('Task Column', () => { }, { text: 'Hello world 3', - note: 'Generic Task Note', + notes: 'Generic Task Note', checklist: [ { text: 'Checkitem 1' }, { text: 'Checkitem 2' }, diff --git a/website/client/components/tasks/column.vue b/website/client/components/tasks/column.vue index 0197f2f6a8..b452622998 100644 --- a/website/client/components/tasks/column.vue +++ b/website/client/components/tasks/column.vue @@ -584,7 +584,7 @@ export default { /* eslint-disable no-extra-parens */ return ( task.text.toLowerCase().indexOf(searchTextLowerCase) > -1 || - (task.note && task.note.toLowerCase().indexOf(searchTextLowerCase) > -1) || + (task.notes && task.notes.toLowerCase().indexOf(searchTextLowerCase) > -1) || (task.checklist && task.checklist.length > 0 && task.checklist.some(checkItem => checkItem.text.toLowerCase().indexOf(searchTextLowerCase) > -1)) );