From 9f363d253d04736c5286cf12fa2605615f597c77 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 17 Apr 2019 16:50:50 +0900 Subject: [PATCH] Fix error --- src/client/app/common/views/components/post-form-attaches.vue | 2 +- src/client/app/common/views/widgets/post-form.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/components/post-form-attaches.vue b/src/client/app/common/views/components/post-form-attaches.vue index 1fe476be7..37422ba10 100644 --- a/src/client/app/common/views/components/post-form-attaches.vue +++ b/src/client/app/common/views/components/post-form-attaches.vue @@ -32,7 +32,7 @@ export default Vue.extend({ props: { files: { - type: Object, + type: Array, required: true }, detachMediaFn: { diff --git a/src/client/app/common/views/widgets/post-form.vue b/src/client/app/common/views/widgets/post-form.vue index 120de0f17..d8617bea5 100644 --- a/src/client/app/common/views/widgets/post-form.vue +++ b/src/client/app/common/views/widgets/post-form.vue @@ -21,7 +21,7 @@ - +