summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-07-20 15:44:08 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-07-20 15:44:08 -0100
commiteadc04fc6165ddf2f12261f5916a6b52f7467804 (patch)
treefd151e75188a10f2edd5b78bbde8cd5e4ca4231f /src
parentfff29cd492c33394ddd1b500741ce86ed1117cf9 (diff)
set type to props
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/PostAttachment.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/PostAttachment.vue b/src/components/PostAttachment.vue
index c1f534a3..586e7442 100644
--- a/src/components/PostAttachment.vue
+++ b/src/components/PostAttachment.vue
@@ -24,7 +24,10 @@ export default {
},
mixins: [],
props: {
- attachments: Array
+ attachments: {
+ type: Array,
+ default: Array
+ }
},
data() {
return {