Fix bug in PlaybackController
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = class PlaybackController {
|
|||||||
|
|
||||||
// Show a file in the OS, eg in Finder on a Mac
|
// Show a file in the OS, eg in Finder on a Mac
|
||||||
openItem (infoHash, index) {
|
openItem (infoHash, index) {
|
||||||
var torrentSummary = torrentSummary.getByKey(this.state, infoHash)
|
var torrentSummary = TorrentSummary.getByKey(this.state, infoHash)
|
||||||
var filePath = path.join(
|
var filePath = path.join(
|
||||||
torrentSummary.path,
|
torrentSummary.path,
|
||||||
torrentSummary.files[index].path)
|
torrentSummary.files[index].path)
|
||||||
|
|||||||
Reference in New Issue
Block a user