1314: Fixed issue with undefined torrents to resume when app starts.
This commit is contained in:
@@ -174,6 +174,7 @@ module.exports = class TorrentListController {
|
|||||||
|
|
||||||
resumePausedTorrents () {
|
resumePausedTorrents () {
|
||||||
console.log('Playback Priority: resuming paused torrents')
|
console.log('Playback Priority: resuming paused torrents')
|
||||||
|
if (!this.state.saved.torrentsToResume || !this.state.saved.torrentsToResume.length) return
|
||||||
this.state.saved.torrentsToResume.map((infoHash) => {
|
this.state.saved.torrentsToResume.map((infoHash) => {
|
||||||
this.toggleTorrent(infoHash)
|
this.toggleTorrent(infoHash)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user