Fix reporter sidebar not filtering based on name
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user