diff --git a/src/components/chat/chat.vue b/src/components/chat/chat.vue index 9db3f4b6..cd4c047a 100644 --- a/src/components/chat/chat.vue +++ b/src/components/chat/chat.vue @@ -70,6 +70,7 @@ :polls-available="false" :auto-focus="true" :placeholder="formPlaceholder" + :file-limit="1" max-height="160" @resize="handleResize" @posted="onPosted" diff --git a/src/components/media_upload/media_upload.js b/src/components/media_upload/media_upload.js index f457d022..9e4bc536 100644 --- a/src/components/media_upload/media_upload.js +++ b/src/components/media_upload/media_upload.js @@ -62,7 +62,8 @@ const mediaUpload = { } }, props: [ - 'dropFiles' + 'dropFiles', + 'disabled' ], watch: { 'dropFiles': function (fileInfos) { diff --git a/src/components/media_upload/media_upload.vue b/src/components/media_upload/media_upload.vue index 0fc305ac..d1d842dc 100644 --- a/src/components/media_upload/media_upload.vue +++ b/src/components/media_upload/media_upload.vue @@ -1,6 +1,7 @@