diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-09-23 08:41:17 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-09-23 08:41:17 -0400 |
commit | 7eef5be3596470321df8a7a0c6b07aa9cc6edb07 (patch) | |
tree | b0717396f640d078d55ce4c1381c31970df5c6f7 /web/react/utils/utils.jsx | |
parent | f2c0db000c6b7596d8068448dfc0c61808807c94 (diff) | |
parent | 302372cfa0c1f86f78336a5b77e879eac32d27cb (diff) | |
download | chat-7eef5be3596470321df8a7a0c6b07aa9cc6edb07.tar.gz chat-7eef5be3596470321df8a7a0c6b07aa9cc6edb07.tar.bz2 chat-7eef5be3596470321df8a7a0c6b07aa9cc6edb07.zip |
Merge pull request #740 from asaadmahmoodspin/ui-improvements
UI Modifications for multiple tickets
Diffstat (limited to 'web/react/utils/utils.jsx')
-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 + '/'; } |