Skip to content

Commit

Permalink
Only show scan button if arp or arp-scan is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Nov 25, 2024
1 parent 7bcb588 commit 3125dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/skins/classic/views/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@

<div class="middleButtons">
<?php
if ($canEditMonitors) {
if ($canEditMonitors and (ZM_PATH_ARP or ZM_PATH_ARP_SCAN)) {
?>
<button type="button" id="scanBtn" title="<?php echo translate('Network Scan') ?>" data-on-click="scanNetwork">
<i class="material-icons">wifi</i>
Expand Down

0 comments on commit 3125dbb

Please sign in to comment.