mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-29 00:14:25 -04:00
adjust color rankings
This commit is contained in:
parent
d8d861c6d1
commit
175b104c97
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ const { getMember } = require("../../../labscore/utils/users");
|
|||
|
||||
function getPerspectiveColor(score){
|
||||
if(score >= 0.9) return "m"
|
||||
if(score >= 0.8) return "r"
|
||||
if(score >= 0.3) return "y"
|
||||
if(score >= 0.76) return "r"
|
||||
if(score >= 0.5) return "y"
|
||||
return "g"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue