Skip to content

Commit

Permalink
handle empty cargoEn
Browse files Browse the repository at this point in the history
  • Loading branch information
elsoftpy committed Jun 12, 2024
1 parent d7cbe8f commit 41205a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/cargos/list.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<tr>
<td>{{ $est->id }}</td>
<td>{{ $est->descripcion }}</td>
<td>{{ $est->cargoEn->descripcion }}</td>
<td>{{ $est->cargoEn?->descripcion }}</td>
<td><a href="{{ route('cargos.edit', $est->id) }}" class="btn waves-light waves-effect lighten-1 white-text ">
<i class="material-icons left">edit</i>Editar
</a>
Expand Down

0 comments on commit 41205a9

Please sign in to comment.