File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -433,13 +433,18 @@ defmodule AlgoraWeb.User.TransactionsLive do
433
433
< . button class = "flex-1 " phx-click = "setup_payout_account " >
434
434
Continue onboarding
435
435
</ . button >
436
- <% else %>
437
- < . button class = "flex-1 " phx-click = "setup_payout_account " variant = "secondary " >
436
+ <% end %>
437
+
438
+ <%= if @ account . details_submitted and @ account . type != :express do %>
439
+ < . button class = "flex-1 " phx-click = "setup_payout_account " >
438
440
Update details
439
441
</ . button >
440
442
<% end %>
441
443
442
444
<%= if @ account . details_submitted and @ account . type == :express do %>
445
+ < . button class = "flex-1 " phx-click = "setup_payout_account " variant = "secondary " >
446
+ Update details
447
+ </ . button >
443
448
< . button class = "flex-1 " phx-click = "view_dashboard " >
444
449
View dashboard
445
450
</ . button >
You can’t perform that action at this time.
0 commit comments