changes
This commit is contained in:
@@ -13,10 +13,10 @@ public function index(Request $request){
|
||||
|
||||
return Inertia::render('Settings/Index', [
|
||||
'actions' => \App\Models\Action::query()
|
||||
->with('decisions', fn($q) => $q->get(['decisions.id']))
|
||||
->with('decisions')
|
||||
->get(),
|
||||
'decisions' => \App\Models\Decision::query()
|
||||
->with('actions', fn($q) => $q->get(['actions.id']))
|
||||
->with('actions')
|
||||
->get()
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user