mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Map Management: Show Groups (#16005)
* Map Management: Show Groups * reorganize group selector a bit * Use uuid to prevent issues with unicode strings and other oddities * Edit buttons should not be primary * Reactivity for small screens
This commit is contained in:
@@ -45,7 +45,7 @@ class CustomMapController extends Controller
|
||||
public function index(): View
|
||||
{
|
||||
return view('map.custom-manage', [
|
||||
'maps' => CustomMap::orderBy('name')->get(['custom_map_id', 'name']),
|
||||
'maps' => CustomMap::orderBy('name')->get(['custom_map_id', 'name', 'menu_group'])->groupBy('menu_group')->sortKeys(),
|
||||
'name' => 'New Map',
|
||||
'menu_group' => null,
|
||||
'node_align' => 10,
|
||||
|
||||
Reference in New Issue
Block a user