From 41308c468849e9f1b464249cb350f7d24f986e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Fri, 24 Mar 2023 15:18:15 +0100 Subject: [PATCH] Fix reporter sidebar not filtering based on name --- client/web/reporter/src/components/ReportSidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/reporter/src/components/ReportSidebar.vue b/client/web/reporter/src/components/ReportSidebar.vue index 89335e55b..7c6824887 100644 --- a/client/web/reporter/src/components/ReportSidebar.vue +++ b/client/web/reporter/src/components/ReportSidebar.vue @@ -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 }) }