mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-08 14:44:00 +02:00
feat(collections): show collection Vote average
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
var total = 0;
|
||||
var count = 0;
|
||||
var total_users = 0;
|
||||
angular.forEach(vm.collection.torrents, function(t){
|
||||
angular.forEach(vm.collection.torrents, function (t) {
|
||||
total += t.resource_detail_info.vote_average;
|
||||
count += 1;
|
||||
total_users += t.resource_detail_info.vote_count;
|
||||
|
||||
Reference in New Issue
Block a user