This commit is contained in:
f4ilji
2024-12-24 18:43:59 +05:00
parent 99e012d727
commit ed7ac493a0
9 changed files with 32 additions and 21 deletions
@@ -28,7 +28,7 @@ class ClientDepartmentController extends Controller
->first());
$directions = $this->groupProgramsByDirection($department->programs);
$seo = $department->seo;
$seo = $department->seo ?? null;
return Inertia::render('Client/Departments/Show', compact('department', 'departments', 'directions', 'seo'));
}