mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Re-enable the edit device groups button (#4726)
This commit is contained in:
committed by
Tony Murray
parent
07e8e9f2be
commit
9298304262
@@ -17,7 +17,7 @@ if (!empty($group_count_check)) {
|
||||
echo '<td>'.formatDeviceGroupPattern($group['pattern'], json_decode($group['params'])).'</td>';
|
||||
echo '<td>';
|
||||
echo "<button type='button' class='btn btn-primary btn-sm' aria-label='Edit' data-toggle='modal' data-target='#create-group' data-group_id='".$group['id']."' name='edit-device-group'";
|
||||
if (is_null($group['params'])) {
|
||||
if (!is_null($group['params'])) {
|
||||
echo " disabled title='LibreNMS V2 device groups cannot be edited in LibreNMS V1'";
|
||||
}
|
||||
echo "><i class='fa fa-pencil' aria-hidden='true'></i></button> ";
|
||||
|
Reference in New Issue
Block a user