Skip to content

Commit

Permalink
Don't show deleted monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Nov 6, 2024
1 parent 63ab3d6 commit 6c214c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ajax/modals/group.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function parentGrpSelect($newGroup) {
function monitorList($newGroup) {
$result = '';

$monitors = dbFetchAll('SELECT Id,Name FROM Monitors ORDER BY Sequence ASC');
$monitors = dbFetchAll('SELECT Id,Name FROM Monitors WHERE Deleted=false ORDER BY Sequence ASC');
$monitorIds = $newGroup->MonitorIds();
foreach ( $monitors as $monitor ) {
if ( visibleMonitor($monitor['Id']) ) {
Expand Down

0 comments on commit 6c214c4

Please sign in to comment.