File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -363,10 +363,12 @@ defmodule AlgoraWeb.Org.TransactionsLive do
363
363
</ dd >
364
364
</ div >
365
365
< div >
366
- < dt class = "text-sm font-medium text-muted-foreground " > Country</ dt >
367
- < dd class = "text-sm font-semibold " >
368
- { Algora.PSP.ConnectCountries . from_code ( @ account . country ) }
369
- </ dd >
366
+ <%= if @ account . country do %>
367
+ < dt class = "text-sm font-medium text-muted-foreground " > Country</ dt >
368
+ < dd class = "text-sm font-semibold " >
369
+ { Algora.PSP.ConnectCountries . from_code ( @ account . country ) }
370
+ </ dd >
371
+ <% end %>
370
372
</ div >
371
373
< div >
372
374
< dt class = "text-sm font-medium text-muted-foreground " > Can Accept Payments</ dt >
Original file line number Diff line number Diff line change @@ -375,10 +375,12 @@ defmodule AlgoraWeb.User.TransactionsLive do
375
375
</ dd >
376
376
</ div >
377
377
< div >
378
- < dt class = "text-sm font-medium text-muted-foreground " > Country</ dt >
379
- < dd class = "text-sm font-semibold " >
380
- { Algora.PSP.ConnectCountries . from_code ( @ account . country ) }
381
- </ dd >
378
+ <%= if @ account . country do %>
379
+ < dt class = "text-sm font-medium text-muted-foreground " > Country</ dt >
380
+ < dd :if = { @ account . country } class = "text-sm font-semibold " >
381
+ { Algora.PSP.ConnectCountries . from_code ( @ account . country ) }
382
+ </ dd >
383
+ <% end %>
382
384
</ div >
383
385
< div >
384
386
< dt class = "text-sm font-medium text-muted-foreground " > Can Accept Payments</ dt >
You can’t perform that action at this time.
0 commit comments