From 9707de8b3755676fece1079752b1d5b5c842b534 Mon Sep 17 00:00:00 2001 From: Emanuele Paolini Date: Sun, 15 Dec 2024 21:02:12 +0100 Subject: [PATCH] display transaction.code --- app/admin/page.tsx | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/admin/page.tsx b/app/admin/page.tsx index c218047..7de9d27 100644 --- a/app/admin/page.tsx +++ b/app/admin/page.tsx @@ -98,6 +98,9 @@ function Transactions({year}:{year: number}) { description + {!edit && + card + } @@ -152,6 +155,7 @@ function TransactionRow({transaction, edit}:{ {transaction && !editing ?originalDescription : setDescription(e.target.value)} />} + {!edit && {transaction?.code} } {edit && {modified &&