fix: documentation

This commit is contained in:
Wyatt Johnson
2018-10-04 22:34:54 +00:00
committed by GitHub
parent aa105061c9
commit 945cdfc298
@@ -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");
}