From 41205a990fdfeff275fd0406af8f816ee8c041b0 Mon Sep 17 00:00:00 2001 From: elsoftpy Date: Wed, 12 Jun 2024 10:56:08 -0400 Subject: [PATCH] handle empty cargoEn --- resources/views/cargos/list.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/cargos/list.blade.php b/resources/views/cargos/list.blade.php index 3dc1d77..b9720a1 100644 --- a/resources/views/cargos/list.blade.php +++ b/resources/views/cargos/list.blade.php @@ -32,7 +32,7 @@ {{ $est->id }} {{ $est->descripcion }} - {{ $est->cargoEn->descripcion }} + {{ $est->cargoEn?->descripcion }} editEditar