Fix typo in error.message (#3899)

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
This commit is contained in:
Mattermost Build 2020-02-07 13:54:16 +01:00 committed by GitHub
parent b7970c3a34
commit 4b016a5272
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,7 +312,7 @@ export default class Downloader extends PureComponent {
// do nothing
});
}
if (error.message !== 'cancelled' && this.mounted) {
if (error.message !== 'canceled' && this.mounted) {
this.showDownloadFailedAlert();
} else {
this.downloadDidCancel();