Add "Unknown" status to the available component statuses

This commit is contained in:
Nicolas Fagotti
2016-10-21 20:00:18 -03:00
parent 196eba7129
commit b223da94a0
8 changed files with 9 additions and 4 deletions

View File

@@ -29,6 +29,8 @@ class ComponentPresenter extends BasePresenter implements Arrayable
public function status_color()
{
switch ($this->wrappedObject->status) {
case 0:
return 'greys';
case 1:
return 'greens';
case 2: