Merge pull request #682 from mattermost/nc-patch

Fixing cutoff team name in new channel modal.
Этот коммит содержится в:
Joram Wilander
2015-09-15 11:16:31 -04:00
родитель 4726fb21b2 edecf835ed
Коммит 125094b21b

Просмотреть файл

@@ -934,6 +934,6 @@ export function getTeamURLFromAddressBar() {
export function getShortenedTeamURL() {
const teamURL = getTeamURLFromAddressBar();
if (teamURL.length > 24) {
return teamURL.substring(0, 10) + '...' + teamURL.substring(teamURL.length - 12, teamURL.length - 1) + '/';
return teamURL.substring(0, 10) + '...' + teamURL.substring(teamURL.length - 12, teamURL.length) + '/';
}
}