diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-07-20 15:44:08 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-07-20 15:44:08 -0100 |
commit | eadc04fc6165ddf2f12261f5916a6b52f7467804 (patch) | |
tree | fd151e75188a10f2edd5b78bbde8cd5e4ca4231f /src | |
parent | fff29cd492c33394ddd1b500741ce86ed1117cf9 (diff) |
set type to props
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/PostAttachment.vue | 5 |
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 { |