summaryrefslogtreecommitdiffstats
path: root/web/react/utils/constants.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-06-22 08:35:24 -0400
committerJoramWilander <jwawilander@gmail.com>2015-06-22 08:35:24 -0400
commit009df5bad5f55c7e4c698f9dab8420d00a7ae71e (patch)
tree9f138437b9487bc2772c6519af73704727e92104 /web/react/utils/constants.jsx
parent8291cb772c1f2b410c08c5fb71c07ef9ca07b0ce (diff)
downloadchat-009df5bad5f55c7e4c698f9dab8420d00a7ae71e.tar.gz
chat-009df5bad5f55c7e4c698f9dab8420d00a7ae71e.tar.bz2
chat-009df5bad5f55c7e4c698f9dab8420d00a7ae71e.zip
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 deb07409b..6d129106b 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -45,6 +45,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,