fix(torrents): check torrent status when user download a torrent

This commit is contained in:
OldHawk
2018-01-13 17:21:30 +08:00
parent 9986236f2b
commit ccf79f45e4

View File

@@ -39,6 +39,9 @@
case 703:
NotifycationService.showErrorNotify('SERVER.CAN_NOT_DOWNLOAD_IDLE', 'TORRENT_DOWNLOAD_ERROR');
break;
case 704:
NotifycationService.showErrorNotify('SERVER.TORRENT_STATUS_ERROR', 'TORRENT_DOWNLOAD_ERROR');
break;
default:
NotifycationService.showErrorNotify(err.data.message, 'TORRENT_DOWNLOAD_ERROR');
}