username for revoked bounties in paid section

This commit is contained in:
Rob Culliton 2018-05-16 13:18:29 -04:00
parent 25d7c55865
commit 92a012c2ed
No known key found for this signature in database
GPG Key ID: 6FDEF60B3DC84D94
1 changed files with 4 additions and 1 deletions

View File

@ -325,7 +325,10 @@
[:div [:div
[bounty-title-link bounty {:show-date? false :max-length 60}] [bounty-title-link bounty {:show-date? false :max-length 60}]
[:div.f6.mt1.gray [:div.f6.mt1.gray
"Paid out to " [:span.pg-med.fw5 "@" (:winner_login bounty)]]] "Paid out to " [:span.pg-med.fw5 "@" (or (:winner_login bounty)
;; use repo owner for revoked bounties
;; where no winner login is set
(:repo-owner bounty))]]]
[small-card-balances bounty]]]) [small-card-balances bounty]]])
(defn expandable-bounty-list [bounty-component bounties] (defn expandable-bounty-list [bounty-component bounties]