feat(gui): display rating in torrent line (gui part)

This commit is contained in:
Alexey Kasyanchuk
2018-06-16 12:56:38 +03:00
parent 9502e53fc1
commit a9c27083da
3 changed files with 57 additions and 4 deletions

View File

@ -757,6 +757,10 @@ module.exports = async ({
if(torrent.hash !== record.torrentHash)
return
let {good, bad} = await getVotes(torrent.hash)
torrent.good = good
torrent.bad = bad
feed.add(torrent)
send('feedUpdate', {