Add default file prop to AttachmentList to prevent crashing when no files exist

This commit is contained in:
Andrew Kingston 2020-10-06 16:22:11 +01:00
parent 9287b16598
commit a12ddaaf08
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<script>
import { FILE_TYPES } from "./fileTypes"
export let files
export let files = []
export let height = "70"
export let width = "70"
</script>