diff --git a/src/web/app/desktop/views/components/post-form-window.vue b/src/web/app/desktop/views/components/post-form-window.vue
index 37670ccd9e..f488b6c34b 100644
--- a/src/web/app/desktop/views/components/post-form-window.vue
+++ b/src/web/app/desktop/views/components/post-form-window.vue
@@ -1,22 +1,18 @@
-
+
%i18n:desktop.tags.mk-post-form-window.post%
%i18n:desktop.tags.mk-post-form-window.reply%
- { '%i18n:desktop.tags.mk-post-form-window.attaches%'.replace('{}', parent.files.length) }
- { '%i18n:desktop.tags.mk-post-form-window.uploading-media%'.replace('{}', parent.uploadingFiles.length) }
+ {{ '%i18n:desktop.tags.mk-post-form-window.attaches%'.replace('{}', media.length) }}
+ {{ '%i18n:desktop.tags.mk-post-form-window.uploading-media%'.replace('{}', uploadings.length) }}
@@ -47,7 +43,7 @@ export default Vue.extend({