fix library praise thread

dev_admin
p31729568 6 years ago
parent 3bfaeb7a6b
commit ae69c39187

@ -38,7 +38,7 @@ json.operation do
json.can_deletable manageable
json.can_editable manageable
json.user_praised PraiseTread.exists?(user_id: current_user&.id)
json.user_praised library.praise_treads.exists?(user_id: current_user&.id)
else
json.can_deletable false
json.can_editable false

Loading…
Cancel
Save