mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Change Device, Group, Location - order (#11141)
This commit is contained in:
@@ -32,8 +32,8 @@ $groups = array_map(function ($group) {
|
||||
}, $groups);
|
||||
|
||||
$data = [
|
||||
['text' => 'Devices', 'children' => $devices],
|
||||
['text' => 'Groups', 'children' => $groups]
|
||||
['text' => 'Groups', 'children' => $groups],
|
||||
['text' => 'Devices', 'children' => $devices]
|
||||
];
|
||||
|
||||
return [$data, $d_more || $g_more];
|
||||
|
||||
@@ -38,9 +38,9 @@ $groups = array_map(function ($group) {
|
||||
}, $groups);
|
||||
|
||||
$data = [
|
||||
['text' => 'Devices', 'children' => $devices],
|
||||
['text' => 'Locations', 'children' => $locations],
|
||||
['text' => 'Groups', 'children' => $groups],
|
||||
['text' => 'Locations', 'children' => $locations]
|
||||
['text' => 'Devices', 'children' => $devices]
|
||||
];
|
||||
|
||||
return [$data, $d_more || $g_more || $l_more];
|
||||
|
||||
Reference in New Issue
Block a user