diff options
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/new_channel_modal.jsx | 2 | ||||
-rw-r--r-- | web/react/utils/utils.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/new_channel_modal.jsx b/web/react/components/new_channel_modal.jsx index 2bf645dc5..f3fb8da2a 100644 --- a/web/react/components/new_channel_modal.jsx +++ b/web/react/components/new_channel_modal.jsx @@ -127,7 +127,7 @@ export default class NewChannelModal extends React.Component { href='#' onClick={this.props.onChangeURLPressed} > - {'change this URL'} + {'Edit'} </a> {')'} </p> diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 85c6137a7..c2307f5e9 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -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) + '/'; } } |