Fix typo in error.message (#3891)
This commit is contained in:
parent
a17b534916
commit
cadec1b793
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