mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: Hide rediscover button for ping only devices (#7594)
This commit is contained in:
committed by
Neil Lathwood
parent
297e5ae874
commit
087dbbd173
@@ -94,7 +94,7 @@ if ($updated && $update_message) {
|
||||
</div>
|
||||
<div class="col-md-1 col-md-offset-2">
|
||||
<?php
|
||||
if ($config['enable_clear_discovery'] == 1) {
|
||||
if ($config['enable_clear_discovery'] == 1 && !$device['snmp_disable']) {
|
||||
?>
|
||||
<button type="submit" id="rediscover" data-device_id="<?php echo($device['device_id']); ?>" class="btn btn-primary" name="rediscover"><i class="fa fa-retweet"></i> Rediscover device</button>
|
||||
<?php
|
||||
|
Reference in New Issue
Block a user