altering topic-map widget's like count to show total topic like count

* altering topic-map widget's like count to display total topic like count rather than the first post's like count

* changing likeCount to topicLikeCount for virtual dom element to show total likes of thread
This commit is contained in:
Steven Slade 2016-04-06 09:49:27 -07:00 committed by Robin Ward
parent 2b9e8e5a7d
commit b1d04412db

View File

@ -81,8 +81,8 @@ createWidget('topic-map-summary', {
if (attrs.topicLikeCount) {
contents.push(h('li.secondary', [
numberNode(attrs.likeCount),
h('h4', I18n.t('likes_lowercase', { count: attrs.likeCount }))
numberNode(attrs.topicLikeCount),
h('h4', I18n.t('likes_lowercase', { count: attrs.topicLikeCount }))
]));
}