Rename bounty and activity fields

This commit is contained in:
Vitaliy Vlasov 2018-05-18 15:38:34 +03:00
parent b3dad92f0a
commit bbf96cc497
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
2 changed files with 4 additions and 3 deletions

View File

@ -620,8 +620,8 @@ SELECT
pr_id,
issue_number,
issue_id,
user_name,
user_avatar_url,
user_name as display_name,
user_avatar_url as avatar_url,
balance_eth,
tokens,
value_usd,

View File

@ -45,7 +45,7 @@
(defn bounty-item [bounty]
(let [open-bounty-claims (rf/subscribe [::subs/open-bounty-claims])]
(fn [bounty]
(let [{avatar-url :repo_owner_avatar_url
(let [{avatar-url :repo-owner-avatar-url
owner :repo-owner
repo-name :repo-name
issue-title :issue-title
@ -66,6 +66,7 @@
open-claims-click #(rf/dispatch [::handlers/open-bounty-claim issue-id])
close-claims-click #(rf/dispatch [::handlers/close-bounty-claim issue-id])
matches-current-issue? (some #{issue-id} @open-bounty-claims)]
(.warn js/console "avatar-url" avatar-url)
[:div
[:div.open-bounty-item.ph4
[:div.open-bounty-item-content