Skip to content

Commit

Permalink
Nil check for member at (#2244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory McDonald authored and yachtcaptain23 committed Sep 20, 2019
1 parent f3627df commit 9f6b5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/publishers/_uphold.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ h3.text-dark.d-flex.align-items-center
= fa_icon("check", text: "Yes")
span.text-muted
span.mx-2= " – "
= @publisher.uphold_connection.member_at.strftime("%B %d, %Y %k:%M %Z")
= @publisher.uphold_connection.member_at&.try(:strftime, "%B %d, %Y %k:%M %Z")
- else
= fa_icon("times", text: "No")
tr
Expand Down

0 comments on commit 9f6b5f6

Please sign in to comment.