diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-09-12 11:57:36 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-09-12 11:57:36 -0400 |
commit | adfcda48022aa8df33e5824903c15f7b9624f963 (patch) | |
tree | de8ce01f30bf7781d6bd452bc2b17f639bec35a1 /webapp/components/team_import_tab.jsx | |
parent | 6d21dab4210678ad9305bba5ab4a341267fc29fa (diff) | |
download | chat-adfcda48022aa8df33e5824903c15f7b9624f963.tar.gz chat-adfcda48022aa8df33e5824903c15f7b9624f963.tar.bz2 chat-adfcda48022aa8df33e5824903c15f7b9624f963.zip |
Some improvments to slack import (#4010)
Diffstat (limited to 'webapp/components/team_import_tab.jsx')
-rw-r--r-- | webapp/components/team_import_tab.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/team_import_tab.jsx b/webapp/components/team_import_tab.jsx index 49d7f7f1f..0fee6a3d8 100644 --- a/webapp/components/team_import_tab.jsx +++ b/webapp/components/team_import_tab.jsx @@ -29,8 +29,8 @@ class TeamImportTab extends React.Component { }; } - onImportFailure() { - this.setState({status: 'fail', link: ''}); + onImportFailure(e, err, res) { + this.setState({status: 'fail', link: 'data:application/octet-stream;charset=utf-8,' + encodeURIComponent(res.text)}); } onImportSuccess(data, res) { |