diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-24 11:05:13 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-24 11:05:13 -0400 |
commit | b62e29ba9cd6183551266da05b9b602a4415d738 (patch) | |
tree | ea759d6d46cc49386bcd66a8b9b8542f75b1c77e /webapp/components/team_export_tab.jsx | |
parent | 68dad8c7345b12c7d0b10709ddc1873d4b40163e (diff) | |
download | chat-b62e29ba9cd6183551266da05b9b602a4415d738.tar.gz chat-b62e29ba9cd6183551266da05b9b602a4415d738.tar.bz2 chat-b62e29ba9cd6183551266da05b9b602a4415d738.zip |
Moving all links and redirects to react-router
Diffstat (limited to 'webapp/components/team_export_tab.jsx')
-rw-r--r-- | webapp/components/team_export_tab.jsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webapp/components/team_export_tab.jsx b/webapp/components/team_export_tab.jsx index e21264a47..9bd5785a0 100644 --- a/webapp/components/team_export_tab.jsx +++ b/webapp/components/team_export_tab.jsx @@ -6,6 +6,7 @@ import * as Client from 'utils/client.jsx'; import {FormattedMessage} from 'react-intl'; import React from 'react'; +import {Link} from 'react-router'; export default class TeamExportTab extends React.Component { constructor(props) { @@ -54,15 +55,15 @@ export default class TeamExportTab extends React.Component { id='team_export_tab.ready' defaultMessage=' Ready for ' /> - <a - href={this.state.link} + <Link + to={this.state.link} download={true} > <FormattedMessage id='team_export_tab.download' defaultMessage='download' /> - </a> + </Link> </p> ); break; |