Skip to content

Commit

Permalink
fix unfavorite
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Apr 1, 2020
1 parent f12b042 commit 850bd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/retail/templates/shared/activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
<i class="fas fa-link mr-2"></i> Copy Link
</a>
<a href=# data-action='favorite' data-toggle="tooltip" title="Mark as favorite this activity" data-affirmative=favorite
data-negative=unfavorite data-state="{% if row.favorite %}favorite{% else %}unfavorite{%endif%}" data-pk="{{row.pk}}"
data-negative=unfavorite data-state="{% if row.metadata.favorite %}favorite{% else %}unfavorite{%endif%}" data-pk="{{row.pk}}"
class="favorite_activity mr-2 dropdown-item px-3 font-smaller-5">
{% if row.metadata.favorite %}
<i class="fas fa-star mr-2"></i>
Expand Down

0 comments on commit 850bd78

Please sign in to comment.