diff --git a/includes/html/list/devices_groups.inc.php b/includes/html/list/devices_groups.inc.php index 0e41c1dd40..0aaeaf4d47 100644 --- a/includes/html/list/devices_groups.inc.php +++ b/includes/html/list/devices_groups.inc.php @@ -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]; diff --git a/includes/html/list/devices_groups_locations.inc.php b/includes/html/list/devices_groups_locations.inc.php index 8ea5bc0eb4..f21c45a048 100644 --- a/includes/html/list/devices_groups_locations.inc.php +++ b/includes/html/list/devices_groups_locations.inc.php @@ -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];