Commit 6551f317 authored by Johan Richer's avatar Johan Richer
Browse files

Use vote count instead of likes

parent cfdc17f3
......@@ -28,9 +28,9 @@ export function topicToCardData(source, topic) {
return {
counts: [
{
count: topic.like_count,
icon: "favorite", // Cf https://material.io/resources/icons
title: "Likes"
count: topic.vote_count,
icon: "thumb_up", // Cf https://material.io/resources/icons
title: "Votes"
},
{
count: topic.reply_count,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment