[Superuser] Perbaikan Halaman Akses Superuser

This commit is contained in:
Ariyutta
2026-11-12 12:22:06 +07:00
parent 2b20537fdb
commit eaad95e8f2
45 changed files with 1062 additions and 110 deletions
@@ -42,7 +42,7 @@ class LaporanController extends Controller
return view('operator.satu.legacy-report', [
'page' => $page,
'crumbs' => ['Beranda' => route('operator.dashboard')] + array_fill_keys(Catalog::trail($slug), null) + [$page['title'] => null],
'crumbs' => ['Beranda' => route(auth()->user()->role->dashboardRoute())] + array_fill_keys(Catalog::trail($slug), null) + [$page['title'] => null],
'slug' => $slug,
'definition' => $definition,
'values' => $values,