fixed "add me" on meal view page

This commit is contained in:
2018-12-15 19:04:19 +01:00
parent 616840676f
commit 77ecebc9c7
+1 -1
View File
@@ -49,7 +49,7 @@
<span class="username">{{ eater }}</span>
</div>
{% endfor %}
{% if not current_user.name in eaters and current_user.name != meal.kuk %}
{% if not current_user.name in meal.eaters and current_user.name != meal.kuk %}
<div class="flex-card" style="background: none; box-shadow: none">
<div class="round-button" onclick="location.href='/addme?meal={{meal.id}}';"><i class="fa fa-plus" aria-hidden="true"></i></div>
<span>Add me</span>