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 37422ba108..e051b6a808 100644 --- a/src/client/app/common/views/components/post-form-attaches.vue +++ b/src/client/app/common/views/components/post-form-attaches.vue @@ -36,7 +36,7 @@ export default Vue.extend({ required: true }, detachMediaFn: { - type: Object, + type: Function, required: false } }, diff --git a/src/client/app/desktop/views/components/post-form-window.vue b/src/client/app/desktop/views/components/post-form-window.vue index 8dd7c584a2..78e69049a1 100644 --- a/src/client/app/desktop/views/components/post-form-window.vue +++ b/src/client/app/desktop/views/components/post-form-window.vue @@ -5,8 +5,8 @@ {{ $t('note') }} {{ $t('reply') }} - {{ this.$t('attaches').replace('{}', files.length) }} - {{ this.$t('uploading-media').replace('{}', uploadings.length) }} + {{ $t('attaches').replace('{}', files.length) }} + {{ $t('uploading-media').replace('{}', uploadings.length) }}