download added

This commit is contained in:
Benjamin Takats
2022-12-05 21:09:38 +01:00
parent 54abb8a9b0
commit 5a2c3fc031

View File

@@ -5,4 +5,10 @@
Öffnen
</x-button>
@endif
@if($row->type === 'downloadable_file')
<x-button amber href="{{ $row->getFirstMediaUrl('single_file') }}" target="_blank">
<i class="fa fa-thin fa-download mr-2"></i>
Öffnen
</x-button>
@endif
</div>