Add default file prop to AttachmentList to prevent crashing when no files exist
This commit is contained in:
parent
9287b16598
commit
a12ddaaf08
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue