File group changes..

This commit is contained in:
Cüneyt Şentürk
2021-02-10 12:07:33 +03:00
parent 4631253bd9
commit 55ef9559eb
3 changed files with 9 additions and 4 deletions

View File

@@ -57,11 +57,11 @@
@elseif ($value instanceof \Plank\Mediable\Media)
@php
$attachments[] = [
'id' => $attachment->id,
'id' => $value->id,
'name' => $value->filename . '.' . $value->extension,
'path' => route('uploads.get', $value->id),
'type' => $attachment->mime_type,
'size' => $attachment->size,
'type' => $value->mime_type,
'size' => $value->size,
'downloadPath' => false,
];
@endphp