library with grid

This commit is contained in:
Benjamin Takats
2023-01-20 16:09:30 +01:00
parent f9cff44f9d
commit 799c3cd2e6

View File

@@ -70,7 +70,7 @@
</x-button> </x-button>
@endif @endif
@if($libraryItem->type === 'downloadable_file') @if($libraryItem->type === 'downloadable_file')
<x-button lg amber :href="$row->getFirstMediaUrl('single_file')" target="_blank"> <x-button lg amber :href="$libraryItem->getFirstMediaUrl('single_file')" target="_blank">
<i class="fa fa-thin fa-download mr-2"></i> <i class="fa fa-thin fa-download mr-2"></i>
{{ __('Download') }} {{ __('Download') }}
</x-button> </x-button>