Apps with level >= 3 should be good quality ?

This commit is contained in:
Alexandre Aubin 2018-12-11 01:40:11 +00:00
parent 36b930cc8d
commit bddb5021d4

View file

@ -18,10 +18,10 @@
}); });
function levelToColor(level) { function levelToColor(level) {
if (level > 6) { if (level >= 3) {
return 'success'; return 'success';
} }
else if (level >= 2) { else if (level >= 1) {
return 'warning'; return 'warning';
} }
else if (isNaN(level)) { else if (isNaN(level)) {