mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
add magenta for extremely high scores
This commit is contained in:
parent
240aa33a70
commit
d8d861c6d1
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ const { getMember } = require("../../../labscore/utils/users");
|
||||||
|
|
||||||
|
|
||||||
function getPerspectiveColor(score){
|
function getPerspectiveColor(score){
|
||||||
|
if(score >= 0.9) return "m"
|
||||||
if(score >= 0.8) return "r"
|
if(score >= 0.8) return "r"
|
||||||
if(score >= 0.3) return "y"
|
if(score >= 0.3) return "y"
|
||||||
return "g"
|
return "g"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue