diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-31 12:24:41 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-31 12:24:41 -0400 |
commit | 6c8116a0b812d0ef257dc53aa8cee64be92a19f6 (patch) | |
tree | 905d3e5ce65943e68552ccb65698ae9f7405206a /webapp | |
parent | fa330c8e697c825148f4334ed40e91b3e16b128b (diff) | |
parent | b382844b7982c701fe90d431a6f38502df75b843 (diff) | |
download | chat-6c8116a0b812d0ef257dc53aa8cee64be92a19f6.tar.gz chat-6c8116a0b812d0ef257dc53aa8cee64be92a19f6.tar.bz2 chat-6c8116a0b812d0ef257dc53aa8cee64be92a19f6.zip |
Merge pull request #2597 from mattermost/plt-2011
PLT-2011 Fixing sidebar jump warning
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/search_results_item.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/search_results_item.jsx b/webapp/components/search_results_item.jsx index 219aa7093..75cbcb2a0 100644 --- a/webapp/components/search_results_item.jsx +++ b/webapp/components/search_results_item.jsx @@ -5,7 +5,6 @@ import UserStore from 'stores/user_store.jsx'; import UserProfile from './user_profile.jsx'; import * as GlobalActions from 'action_creators/global_actions.jsx'; import * as TextFormatting from 'utils/text_formatting.jsx'; -import * as Utils from 'utils/utils.jsx'; import Constants from 'utils/constants.jsx'; @@ -88,7 +87,7 @@ export default class SearchResultsItem extends React.Component { </li> <li> <Link - to={Utils.getTeamURLFromAddressBar() + '/pl/' + this.props.post.id} + to={'/' + window.location.pathname.split('/')[1] + '/pl/' + this.props.post.id} className='search-item__jump' > <FormattedMessage |