#394 (redux) enabled "Management IPs" hides after "Redraw Map"

This commit is contained in:
Oliver Gorwits
2018-04-19 08:17:37 +01:00
parent 8d1fb71c76
commit a30cb33de9
3 changed files with 5 additions and 4 deletions

View File

@@ -224,7 +224,7 @@ ajax '/ajax/data/device/netmap' => require_login sub {
ID => $device->ip,
SIZEVALUE => (param('dynamicsize') ? $color_lkp{speed} : 3000),
((exists $color_lkp{$colorby}) ? (COLORVALUE => $color_lkp{$colorby}) : ()),
LABEL => $name,
LABEL => (param('showips') ? ($device->ip .' '. $name) : $name),
ORIG_LABEL => $name,
INFOSTRING => make_node_infostring($device),
LINK => uri_for('/device', {