Change Device, Group, Location - order (#11141)

This commit is contained in:
SourceDoctor
2020-02-13 12:50:18 +01:00
committed by GitHub
parent 082a1ee079
commit 1ca49a532f
2 changed files with 4 additions and 4 deletions

View File

@@ -32,8 +32,8 @@ $groups = array_map(function ($group) {
}, $groups); }, $groups);
$data = [ $data = [
['text' => 'Devices', 'children' => $devices], ['text' => 'Groups', 'children' => $groups],
['text' => 'Groups', 'children' => $groups] ['text' => 'Devices', 'children' => $devices]
]; ];
return [$data, $d_more || $g_more]; return [$data, $d_more || $g_more];

View File

@@ -38,9 +38,9 @@ $groups = array_map(function ($group) {
}, $groups); }, $groups);
$data = [ $data = [
['text' => 'Devices', 'children' => $devices], ['text' => 'Locations', 'children' => $locations],
['text' => 'Groups', 'children' => $groups], ['text' => 'Groups', 'children' => $groups],
['text' => 'Locations', 'children' => $locations] ['text' => 'Devices', 'children' => $devices]
]; ];
return [$data, $d_more || $g_more || $l_more]; return [$data, $d_more || $g_more || $l_more];