mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-14 14:04:32 +08:00
fix: some bug
This commit is contained in:
@@ -3,7 +3,7 @@ json.format_time target.created_at.strftime("%Y-%m-%d")
|
||||
json.name user.try(:show_real_name)
|
||||
json.login user.try(:login)
|
||||
json.image_url url_to_avatar(user)
|
||||
json.is_current_user current_user.try(:id) == target.user_id
|
||||
json.is_current_user current_user.try(:id) == user.id
|
||||
json.is_watch current_user&.watched?(user)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user