fixed some types, add some labels
This commit is contained in:
1 parent
62b6489abf
commit
1a7dd954e2
23 files changed
+379
-168
No files matched your search
@@ -90,7 +90,12 @@ export default function CardTransactionViewPage() {
|
||||
</BentoCard>
|
||||
|
||||
<BentoCard title={t("cardTransaction.section.meta", "Belligi")}>
|
||||
<InfoRow label={t("cardTransaction.col.userId", "Ulanyjy ID")} value={data.userId} />
|
||||
<InfoRow
|
||||
label={t("cardTransaction.col.user", "Ulanyjy")}
|
||||
value={data.user?.name || "—"}
|
||||
isLink={Boolean(data.user?.id)}
|
||||
href={data.user?.id ? `/all-users/${data.user.id}` : undefined}
|
||||
/>
|
||||
<InfoRow
|
||||
label={t("cardTransaction.col.createdAt", "Döredilen wagty")}
|
||||
value={data.createdAt ? new Date(data.createdAt).toLocaleString() : "—"}
|
||||
|
||||
Reference in new issue
Block a user