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 37422ba10..e051b6a80 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 8dd7c584a..78e69049a 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) }}