Skip to content

Commit

Permalink
Don't show default currency modal on pending accounts (#2101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory McDonald authored Aug 5, 2019
1 parent 0508807 commit 6768bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/publishers/home.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ noscript
div.noscript-warning = t ".noscript"

- open_confirm_default_currency_modal = !flash[:taken_channel_id] && \
@publisher.uphold_connection.uphold_verified? && \
@publisher.uphold_connection.uphold_verified? && @publisher.uphold_connection.status != UpholdConnection::PENDING && \
(@publisher.uphold_connection.default_currency_confirmed_at.blank? || @publisher.uphold_connection.default_currency.blank?)
script type="text/html" id="confirm_default_currency_modal_wrapper"
= render partial: 'confirm_default_currency_modal', locals: { possible_currencies: @possible_currencies || []}
Expand Down

0 comments on commit 6768bda

Please sign in to comment.