Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion frontend/components/common/general/table-data.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from "react"
import Link from "next/link"
import { useVirtualizer } from "@tanstack/react-virtual"
import { Badge } from "@/components/ui/badge"
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
Expand Down Expand Up @@ -251,7 +252,22 @@ const TransactionTableRow = React.memo(React.forwardRef<HTMLTableRowElement, {
)}
</TableCell>
<TableCell className="text-[11px] font-medium text-center py-1">
{order.app_name || '-'}
{order.app_name ? (
order.app_homepage_url ? (
<Link
href={order.app_homepage_url}
target="_blank"
rel="noopener noreferrer"
className="text-primary underline-offset-4 hover:underline"
>
{order.app_name}
</Link>
) : (
order.app_name
)
) : (
'-'
)}
</TableCell>
<TableCell className="font-mono text-[11px] font-medium text-left py-1">
{order.order_no}
Expand Down
Loading