mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Apps with level >= 3 should be good quality ?
This commit is contained in:
parent
36b930cc8d
commit
bddb5021d4
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue