File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ defmodule AlgoraWeb.User.TransactionsLive do
4141
4242 { :ok ,
4343 socket
44- |> assign ( :page_title , "Your transactions " )
44+ |> assign ( :page_title , "Transactions " )
4545 |> assign ( :show_create_payout_drawer , false )
4646 |> assign ( :show_manage_payout_drawer , false )
4747 |> assign ( :show_delete_confirmation , false )
@@ -170,9 +170,9 @@ defmodule AlgoraWeb.User.TransactionsLive do
170170 ~H"""
171171 < div class = "container mx-auto max-w-7xl space-y-6 p-6 " >
172172 < div class = "space-y-4 " >
173- < div class = "flex items-end justify-between gap-4 " >
173+ < div class = "flex items-center justify-between gap-4 " >
174174 < div class = "space-y-1 " >
175- < h1 class = "text-2xl font-bold " > Your Transactions</ h1 >
175+ < h1 class = "text-2xl font-bold " > Transactions</ h1 >
176176 < p class = "text-muted-foreground " > View and manage your transaction history</ p >
177177 </ div >
178178 <%= if @ account do %>
@@ -223,7 +223,7 @@ defmodule AlgoraWeb.User.TransactionsLive do
223223 </ div >
224224
225225 <!-- Transactions Table -->
226- < . card >
226+ < . card :if = { length ( @ transactions ) > 0 } >
227227 < . card_header >
228228 < . card_title > Transaction History</ . card_title >
229229 </ . card_header >
You can’t perform that action at this time.
0 commit comments