diff --git a/app/templates/object.html b/app/templates/object.html index 3da1392..1bcb5e1 100644 --- a/app/templates/object.html +++ b/app/templates/object.html @@ -19,7 +19,7 @@ {% macro display_replies_tree(replies_tree_node) %} {% if replies_tree_node.is_requested %} - {{ utils.display_object_expanded(replies_tree_node.ap_object) }} + {{ utils.display_object_expanded(replies_tree_node.ap_object, likes=likes, shares=shares) }} {% else %} {{ utils.display_object(replies_tree_node.ap_object) }} {% endif %} diff --git a/app/templates/utils.html b/app/templates/utils.html index 6284c10..1f115d9 100644 --- a/app/templates/utils.html +++ b/app/templates/utils.html @@ -208,7 +208,7 @@ {% endif %} {% endmacro %} -{% macro display_object_expanded(object) %} +{% macro display_object_expanded(object, likes=[], shares=[]) %}
{% endmacro %} @@ -339,8 +367,7 @@ - {% endif %} - + {% endif %} {% endif %}