Skip to content

Commit

Permalink
Profile Viewer: Don't show EventNode763 unless it has completions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Jun 29, 2024
1 parent 9bb5837 commit abf673d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -671,9 +671,11 @@ function renderProfile()
document.querySelector("#missions tbody").innerHTML = "";
Object.keys(ExportRegions).forEach(tag =>
{
if (!profile.Results[0].Missions.find(x => x.Tag == tag))
if (tag != "EventNode763"
&& !profile.Results[0].Missions.find(x => x.Tag == tag)
)
{
profile.Results[0].Missions.push({ Tag: tag, Completes :0 });
profile.Results[0].Missions.push({ Tag: tag, Completes: 0 });
}
});
profile.Results[0].Missions
Expand Down

0 comments on commit abf673d

Please sign in to comment.