summaryrefslogtreecommitdiffstats
path: root/web/react/utils/utils.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-09-22 11:21:28 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-09-22 11:21:28 +0500
commit38cc1485749c60c32ee9ef8a01da74140588cc3a (patch)
treef1994c25831ce11957e74f029e96e241e750be8c /web/react/utils/utils.jsx
parentee5a77ec56ee13f5eb96fce6065b4b7a1845de89 (diff)
downloadchat-38cc1485749c60c32ee9ef8a01da74140588cc3a.tar.gz
chat-38cc1485749c60c32ee9ef8a01da74140588cc3a.tar.bz2
chat-38cc1485749c60c32ee9ef8a01da74140588cc3a.zip
UI Modifications for multiple tickets
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r--web/react/utils/utils.jsx3
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 + '/';
}