Posting flags correctly and displaying flags when clicked.

This commit is contained in:
David Jay
2016-11-09 18:30:01 -05:00
parent b7ee23d000
commit 6ef0d3ef41
4 changed files with 28 additions and 17 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ ActionSchema.statics.getActionSummaries = function(item_ids) {
if (!actionObj[action.item_id]) {
actionObj[action.item_id] = {
id: action.id,
type: action.action_type,
item_type: action.item_type,
action_type: action.action_type,
count: 1,
current_user: false //Update this later when we have authentication
};