3
0

Fix reporter sidebar not filtering based on name

This commit is contained in:
Jože Fortun
2023-03-24 15:18:15 +01:00
parent 6309f9fd99
commit 41308c4688
@@ -51,7 +51,7 @@ export default {
let reports = this.reports
if (this.query) {
reports = this.reports.filter(({ reportID, handle, meta: { name = '' } }) => {
const reportString = `${reportID}${handle}$name}`.toLowerCase().trim()
const reportString = `${reportID}${handle}${name}`.toLowerCase().trim()
return reportString.indexOf(this.query.toLowerCase().trim()) > -1
})
}