Fix scoreboard top 10 graph's title (#1296)

* Scoreboard graph title properly shows Users or Teams
bulk-clear-sessions
淡水 2020-04-01 04:18:27 +08:00 committed by GitHub
parent 76af4419b6
commit a854bfc50f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ const config = {
responsive: true
};
const layout = {
title: "Top 10 Teams",
title: "Top 10 " + (window.userMode === "teams" ? "Teams" : "Users"),
paper_bgcolor: "rgba(0,0,0,0)",
plot_bgcolor: "rgba(0,0,0,0)",
hovermode: "closest",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long