Commit 2750550c authored by Glaucia S. Santos's avatar Glaucia S. Santos
Browse files

Fix message count of discussion

parent 2f1ae2b9
......@@ -282,6 +282,7 @@
// Send the comment data to be saved by the API
comment.$save().then(function(comment) {
$scope.topic.count_replies += 1;
angular.forEach(files, function(comment_file) {
comment_file.comment = comment.id;
delete comment_file.file;
......
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