From 0a9bfc4ed850a4386284ca5ed0789e56bea4f1eb Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 9 Aug 2020 02:41:52 +0100 Subject: [PATCH] fixed a bug that would cause users to not be able to see their reults --- public/js/account.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/js/account.js b/public/js/account.js index 09c555d80..cc099d6c8 100644 --- a/public/js/account.js +++ b/public/js/account.js @@ -914,7 +914,11 @@ function refreshAccountPage() { if (result.tags === undefined || result.tags.length === 0) { //no tags, show when no tag is enabled - if (activeFilters.includes("tag_notag")) tagHide = false; + if (dbSnapshot.tags.length > 0) { + if (activeFilters.includes("tag_notag")) tagHide = false; + } else { + tagHide = false; + } } else { //tags exist let validTags = dbSnapshot.tags.map((t) => t.id);