Merge branch 'next-comment-counts' of github.com:coralproject/talk into next-comment-counts

* 'next-comment-counts' of github.com:coralproject/talk:
  fix: documentation
This commit is contained in:
Belén Curcio
2018-10-04 20:27:25 -03:00
@@ -40,6 +40,7 @@ function update(store: RecordSourceSelectorProxy, input: CreateCommentInput) {
if (asset) {
const record = asset.getLinkedRecord("commentCounts");
if (record) {
// TODO: when we have moderation, we'll need to be careful here.
const currentCount = record.getValue("totalVisible");
record.setValue(currentCount + 1, "totalVisible");
}