From dd512301c5aee204ce4c6f560f2a6f11fa259449 Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 19 Jul 2021 18:07:26 +0100 Subject: [PATCH] fixed tag filter not displaying --- src/js/account/result-filters.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/account/result-filters.js b/src/js/account/result-filters.js index 03c87ab3f..b7f1c8e88 100644 --- a/src/js/account/result-filters.js +++ b/src/js/account/result-filters.js @@ -206,9 +206,9 @@ export function updateActive() { ret += aboveChartDisplay.tags.array .map((id) => { if (id == "none") return id; - let name = DB.getSnapshot().tags.filter((t) => t.id == id)[0]; + let name = DB.getSnapshot().tags.filter((t) => t._id == id)[0]; if (name !== undefined) { - return DB.getSnapshot().tags.filter((t) => t.id == id)[0].name; + return DB.getSnapshot().tags.filter((t) => t._id == id)[0].name; } }) .join(", ");