Fix typo in error.message (#3899)
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
This commit is contained in:
parent
b7970c3a34
commit
4b016a5272
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue