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