but let's not search in descriptions

This commit is contained in:
Koen Lagveen 2023-08-19 14:41:26 +02:00
parent 1cd82d2345
commit 58c4e0df6d
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ export class Filters {
(this.filters.author === 'all' || data.author === this.filters.author) &&
(!this.filters.name || data.name.toLowerCase().indexOf(this.filters.name) > -1 ||
data.author.toLowerCase().indexOf(this.filters.name) > -1 ||
data.description?.toLowerCase().indexOf(this.filters.name) > -1 ||
data.year.toString().indexOf(this.filters.name) > -1)
) {
element.classList.remove('filtered-out')