summaryrefslogtreecommitdiffstats
path: root/web/react/utils/constants.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-06-25 12:28:34 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-06-25 12:28:34 -0400
commit7904ea2738e2d4527e3af744d6f51612b54a5462 (patch)
tree956f312ac69eed24f5e545a1a5635c42c3ace3d9 /web/react/utils/constants.jsx
parent5e6fb9c181d6bfaab1a9cd717b412a294757ea53 (diff)
parent009df5bad5f55c7e4c698f9dab8420d00a7ae71e (diff)
downloadchat-7904ea2738e2d4527e3af744d6f51612b54a5462.tar.gz
chat-7904ea2738e2d4527e3af744d6f51612b54a5462.tar.bz2
chat-7904ea2738e2d4527e3af744d6f51612b54a5462.zip
Merge pull request #46 from mattermost/mm-1318
fixes mm-1318 only allow 5 files to be uploaded at a time
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r--web/react/utils/constants.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index 4a0d243e2..e5f42c8a0 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -48,6 +48,7 @@ module.exports = {
PATCH_TYPES: ['patch'],
ICON_FROM_TYPE: {'audio': 'audio', 'video': 'video', 'spreadsheet': 'ppt', 'pdf': 'pdf', 'code': 'code' , 'word': 'word' , 'excel': 'excel' , 'patch': 'patch', 'other': 'generic'},
MAX_DISPLAY_FILES: 5,
+ MAX_UPLOAD_FILES: 5,
MAX_FILE_SIZE: 50000000, // 50 MB
DEFAULT_CHANNEL: 'town-square',
POST_CHUNK_SIZE: 60,