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:
Tony Murray
2024-05-03 18:30:03 -05:00
committed by GitHub
parent 3313949ea7
commit 5b20886732
6 changed files with 63 additions and 35 deletions

View File

@@ -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,