N°2847 - Dashlet fix header dynamic

This commit is contained in:
Eric
2020-10-30 10:39:58 +01:00
parent a70ed7fcc2
commit f3e47a15f6
2 changed files with 13 additions and 1 deletions

View File

@@ -52,6 +52,18 @@ class UIHelper
break;
}
break;
default:
switch ($sStateCode) {
case 'active':
$sStatusColor = 'active';
break;
case 'inactive':
$sStatusColor = 'inactive';
break;
default:
$sStatusColor = 'neutral';
break;
}
}
return $sStatusColor;
}