From 879281cccb1dded093ff6c7746604fd26c335eab Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 22 Jan 2022 21:11:34 -0700 Subject: [PATCH] Update ComposeModal, add max file size and allowed mime types. Fixes #3162 --- resources/assets/js/components/ComposeModal.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/resources/assets/js/components/ComposeModal.vue b/resources/assets/js/components/ComposeModal.vue index ec074a93a..d73196c76 100644 --- a/resources/assets/js/components/ComposeModal.vue +++ b/resources/assets/js/components/ComposeModal.vue @@ -184,6 +184,7 @@ +
@@ -237,7 +238,7 @@
-
+
@@ -248,12 +249,13 @@ New Post

Share up to {{config.uploader.album_limit}} photos or videos

+

{{config.uploader.media_types.split(',').map(v => v.split('/')[1]).join(', ')}} allowed up to {{filesize(config.uploader.max_photo_size)}}

-