bugfix with file lists

This commit is contained in:
2024-04-23 09:28:42 +10:00
parent 88b1dcdfae
commit 6dbc9f0281
3 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@
<x-ui.filelist
label="Files"
name="files"
value="{{ $post ? \App\Helpers::arrayToString($post->files) : '' }}"
value="{!! $post ? $post->files()->orderBy('name')->get() : '' !!}"
editor="true"
></x-ui.filelist>
</div>