diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-09-22 11:21:28 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-09-22 11:21:28 +0500 |
commit | 38cc1485749c60c32ee9ef8a01da74140588cc3a (patch) | |
tree | f1994c25831ce11957e74f029e96e241e750be8c /web/react/utils | |
parent | ee5a77ec56ee13f5eb96fce6065b4b7a1845de89 (diff) | |
download | chat-38cc1485749c60c32ee9ef8a01da74140588cc3a.tar.gz chat-38cc1485749c60c32ee9ef8a01da74140588cc3a.tar.bz2 chat-38cc1485749c60c32ee9ef8a01da74140588cc3a.zip |
UI Modifications for multiple tickets
Diffstat (limited to 'web/react/utils')
-rw-r--r-- | web/react/utils/utils.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 074591489..6e660286b 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -955,7 +955,8 @@ export function getTeamURLFromAddressBar() { export function getShortenedTeamURL() { const teamURL = getTeamURLFromAddressBar(); - if (teamURL.length > 24) { + if (teamURL.length > 35) { return teamURL.substring(0, 10) + '...' + teamURL.substring(teamURL.length - 12, teamURL.length) + '/'; } + return teamURL + '/'; } |