Add default file prop to AttachmentList to prevent crashing when no files exist
This commit is contained in:
parent
9287b16598
commit
a12ddaaf08
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue