Fixing cutoff team name in new channel modal

Этот коммит содержится в:
Christopher Speller
2015-09-15 08:11:00 -04:00
родитель bfebb41bc0
Коммит edecf835ed

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

@@ -1133,6 +1133,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) + '/';
}
}