diff --git a/output/index.md b/output/index.md index b84a0876..84b60d48 100644 --- a/output/index.md +++ b/output/index.md @@ -16,7 +16,7 @@ Proposed [Twitter (X) community notes](https://x.com/i/communitynotes/download-d Tweet status Tweet author Tweet content - Ratings total + Max score @@ -237,16 +237,7 @@ Proposed [Twitter (X) community notes](https://x.com/i/communitynotes/download-d visible: true, defaultContent: 0, render: function (data, type, row, meta) { - let totalRating = 0; - for (let i = 0; i < data.length; i++) { - if (data[i]['ratings']) { - totalRating = totalRating + data[i]['ratings']; - } - } - if (type === 'display') { - return totalRating.toLocaleString(); - } - return totalRating; + return data[0]['score']; } } ],