更改:贡献占比显示判断移除
This commit is contained in:
parent
7fc373e259
commit
16df3c409c
|
@ -13,8 +13,6 @@ else
|
||||||
json.type user["type"]
|
json.type user["type"]
|
||||||
json.name user["name"]
|
json.name user["name"]
|
||||||
json.image_url user["avatar_url"]
|
json.image_url user["avatar_url"]
|
||||||
if project.use_blockchain
|
db_user = User.find_by_id(user["id"])
|
||||||
db_user = User.find_by_id(user["id"])
|
json.blockchain_perc db_user.contribution_perc(project)
|
||||||
json.blockchain_perc db_user.contribution_perc(project)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue