mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
show ignored device up when up (#15283)
* show ignored device up when up * change status string
This commit is contained in:
@@ -248,7 +248,11 @@ class AvailabilityMapController extends WidgetController
|
||||
}
|
||||
|
||||
if ($device->ignore) {
|
||||
return ['ignored', 'label-default'];
|
||||
if (($device->status == 1) && ($device->uptime != 0)) {
|
||||
return ['ignored-up', 'label-success'];
|
||||
}
|
||||
|
||||
return ['ignored-down', 'label-default'];
|
||||
}
|
||||
|
||||
if ($device->status == 1) {
|
||||
|
Reference in New Issue
Block a user