mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-11 08:14:11 +08:00
fixed a bug that would cause users to not be able to see their reults
This commit is contained in:
parent
018000190c
commit
0a9bfc4ed8
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue