but let's not search in descriptions
This commit is contained in:
parent
1cd82d2345
commit
58c4e0df6d
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue