From e14df587c8e99a8cd4d4539ada9d8dadb8b523b9 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Tue, 23 Jan 2024 00:44:04 +0500 Subject: [PATCH] convert related filter to int to compare with `item.hid` --- client/src/components/History/CurrentHistory/HistoryPanel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/History/CurrentHistory/HistoryPanel.vue b/client/src/components/History/CurrentHistory/HistoryPanel.vue index c97b0d2720dd..4e9fdc2a5a1d 100644 --- a/client/src/components/History/CurrentHistory/HistoryPanel.vue +++ b/client/src/components/History/CurrentHistory/HistoryPanel.vue @@ -192,7 +192,7 @@ function getHighlight(item: HistoryItem) { return undefined; } - const highlightsKey = filterClass.getFilterValue(unref(filterText), "related"); + const highlightsKey = parseInt(filterClass.getFilterValue(unref(filterText), "related")); if (!highlightsKey) { return undefined; }