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 21796d9f98
commit 11c4f237d3
1 changed files with 1 additions and 1 deletions

View File

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