A free open source IT asset/license management system
Updated copy to clipboard component
snipe61a8567cc351
diff --git a/resources/views/blade/data-row.blade.php b/resources/views/blade/data-row.blade.phpindex 08dcbdfdef..4b8dd07db9 100644--- a/resources/views/blade/data-row.blade.php+++ b/resources/views/blade/data-row.blade.php@@ -1,6 +1,6 @@@props(['label',- 'copy_what',+ 'copy_what' => null,])@if (!$slot->isEmpty())@@ -8,6 +8,10 @@{{ $label }}</dt><dd>- <x-copy-to-clipboard copy_what="{{ $copy_what }}" class="pull-right">{{ $slot }}</x-copy-to-clipboard>+ @if ($copy_what!='')+ <x-copy-to-clipboard copy_what="{{ $copy_what }}">{{ $slot }}</x-copy-to-clipboard>+ @else+ {{ $slot }}+ @endif</dd>@endif\ No newline at end of file