diff options
author | Ruzette Tanyag <ruzette@users.noreply.github.com> | 2017-03-14 12:06:31 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-03-14 12:06:31 -0400 |
commit | dc2e73305858bad53a9f1d1cba407649890d2497 (patch) | |
tree | 32c1b4587bb788223c76861bd34a0da8bf2a638f /webapp/utils | |
parent | fa47132b8f1d6d889450021f6afbdc903208ac41 (diff) | |
download | chat-dc2e73305858bad53a9f1d1cba407649890d2497.tar.gz chat-dc2e73305858bad53a9f1d1cba407649890d2497.tar.bz2 chat-dc2e73305858bad53a9f1d1cba407649890d2497.zip |
PLT-5764 Fixed channel name minimum length (#5693)
* make sure that we use constants for channel name min length
* changed channel name error to match channel URL error
* changed constant max channel name length to 22 and reapply in modal
* reverted dutch translation
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/constants.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx index 39dca99b3..3a16992ca 100644 --- a/webapp/utils/constants.jsx +++ b/webapp/utils/constants.jsx @@ -868,6 +868,8 @@ export const Constants = { DEFAULT_MAX_NOTIFICATIONS_PER_CHANNEL: 1000, MAX_TEAMNAME_LENGTH: 15, MAX_TEAMDESCRIPTION_LENGTH: 50, + MIN_CHANNELNAME_LENGTH: 2, + MAX_CHANNELNAME_LENGTH: 22, MIN_USERNAME_LENGTH: 3, MAX_USERNAME_LENGTH: 22, MAX_NICKNAME_LENGTH: 22, |