A free open source IT asset/license management system
Show the field but with no data if no value
snipef1d32b8caec8
diff --git a/resources/views/blade/data-row.blade.php b/resources/views/blade/data-row.blade.phpindex 93449a3629..4ff70be602 100644--- a/resources/views/blade/data-row.blade.php+++ b/resources/views/blade/data-row.blade.php@@ -2,9 +2,10 @@'label','copy_what' => null,'icon_type' => null,+ 'hide_if_null' => false,])-@if (!$slot->isEmpty())+@if ($hide_if_null!='true')<dt>@if (isset($icon_type))<x-icon type="{{ $icon_type }}" class="fa-fw"/>@@ -12,10 +13,12 @@{{ $label }}</dt><dd>- @if ($copy_what!='')+ @if ((!$slot->isEmpty()) && ($copy_what!=''))<x-copy-to-clipboard copy_what="{{ $copy_what }}">{{ $slot }}</x-copy-to-clipboard>- @else+ @elseif (!$slot->isEmpty()){{ $slot }}+ @else+ <span class="text-muted"><em>{{ trans('general.no_value') }}</em></span>@endif</dd>@endif\ No newline at end of file