From 9579527ccc4242f08b46c60efb1c47914c7140e2 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 3 Nov 2022 02:01:55 -0700 Subject: tx labels --- src/routes/(app)/[username]/transactions/[...page]/+page.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/routes') diff --git a/src/routes/(app)/[username]/transactions/[...page]/+page.svelte b/src/routes/(app)/[username]/transactions/[...page]/+page.svelte index efecbaf2..91429917 100644 --- a/src/routes/(app)/[username]/transactions/[...page]/+page.svelte +++ b/src/routes/(app)/[username]/transactions/[...page]/+page.svelte @@ -121,12 +121,19 @@ {#if tx.with}
+
+ {tx.amount > 0 ? 'From' : 'To'} +
-
{tx.with.username}
+
{tx.with.username}
+ {:else} +
+ {tx.amount > 0 ? 'Received' : 'Sent'} +
{/if} -- cgit v1.2.3