For some reason addresses.nodes_hub is passed a blank object, thus not retrieving hub's nodes

This commit is contained in:
Deon George 2024-06-28 16:40:50 +10:00
parent d25dae2427
commit 7f4540f5ec

View File

@ -66,7 +66,7 @@ class SystemController extends Controller
->with('saved',TRUE); ->with('saved',TRUE);
} }
$o->load(['addresses.zone.domain','addresses.nodes_hub','addresses.system','sessions.domain','sessions.systems']); $o->load(['addresses.zone.domain','addresses.system','sessions.domain','sessions.systems']);
return view('system.addedit') return view('system.addedit')
->with('action',$o->exists ? 'update_nn' : 'create') ->with('action',$o->exists ? 'update_nn' : 'create')