Commit 959eb6ba authored by Sudheer's avatar Sudheer Committed by Christopher Speller
Browse files

MM-12921 Fix for redirection to last channel from team subpages (#2050)

* Fixes redirection from custom emoji and intergrations pages.
parent b5b18316
......@@ -6,7 +6,6 @@ import React from 'react';
import {FormattedMessage} from 'react-intl';
import {Link} from 'react-router-dom';
import {Constants} from 'utils/constants.jsx';
import {localizeMessage} from 'utils/utils.jsx';
export default class BackstageNavbar extends React.Component {
......@@ -26,7 +25,7 @@ export default class BackstageNavbar extends React.Component {
<div className='backstage-navbar'>
<Link
className='backstage-navbar__back'
to={`/${this.props.team.name}/channels/${Constants.DEFAULT_CHANNEL}`}
to={`/${this.props.team.name}`}
>
<i
className='fa fa-angle-left'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment