mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Uuuh those were typo ...
This commit is contained in:
parent
c0b7e55350
commit
36b930cc8d
1 changed files with 4 additions and 3 deletions
|
@ -41,13 +41,14 @@
|
|||
}
|
||||
|
||||
function combineColors(stateColor, levelColor, installable) {
|
||||
if (stateColor === "dangers" || levelColor === "danger") {
|
||||
if (stateColor === "danger" || levelColor === "danger") {
|
||||
return 'danger';
|
||||
}
|
||||
if (stateColor === "warnings" || levelColor === "warnings" || levelColor === "default") {
|
||||
else if (stateColor === "warning" || levelColor === "warning" || levelColor === "default") {
|
||||
return 'warning';
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
return 'success';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue