Skip to content
Snippets Groups Projects
Commit 3f2695ab authored by Tibo's avatar Tibo
Browse files

Show correct status badges

parent 35251893
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ abstract class AbstractSensor implements Sensor {
}
public static function getBadgeForStatus($status) {
switch ($this->status()) {
switch ($status) {
case 0:
return '<span class="badge badge-success">OK</span>';
case 10:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment