feat(user): hide alamat ketika datanya null
This commit is contained in:
parent
6bcd196010
commit
813397400c
@ -74,15 +74,18 @@ class="w-4 h-4 text-gray-500 dark:text-white flex-shrink-0 mt-0.5" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<flux:heading class="uppercase font-semibold text-gray-500 dark:text-gray-400 ">Alamat
|
||||
</flux:heading>
|
||||
<div class="flex items-start gap-2 text-sm">
|
||||
<flux:icon.map-pin
|
||||
class="w-4 h-4 text-gray-500 dark:text-white flex-shrink-0 mt-0.5" />
|
||||
<flux:text>{{ $employee['address'] }}</flux:text>
|
||||
@if ($employee['address'])
|
||||
<div>
|
||||
<flux:heading class="uppercase font-semibold text-gray-500 dark:text-gray-400 ">
|
||||
Alamat
|
||||
</flux:heading>
|
||||
<div class="flex items-start gap-2 text-sm">
|
||||
<flux:icon.map-pin
|
||||
class="w-4 h-4 text-gray-500 dark:text-white flex-shrink-0 mt-0.5" />
|
||||
<flux:text>{{ $employee['address'] }}</flux:text>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="grid grid-cols-2 gap-3">
|
||||
<div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user