Uuuh those were typo ...

This commit is contained in:
Alexandre Aubin 2018-12-11 01:39:09 +00:00
parent c0b7e55350
commit 36b930cc8d

View file

@ -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';
}
}