summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/itb/table/purchase-request-columns.tsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/itb/table/purchase-request-columns.tsx b/lib/itb/table/purchase-request-columns.tsx
index e6489c18..e1d22eaa 100644
--- a/lib/itb/table/purchase-request-columns.tsx
+++ b/lib/itb/table/purchase-request-columns.tsx
@@ -203,15 +203,10 @@ export function getPurchaseRequestColumns({
cell: ({ row }) => {
const count = Number(row.original.attachmentCount) || 0;
return count > 0 ? (
- <Button
- variant="ghost"
- size="sm"
- className="h-8 px-2"
- onClick={() => setRowAction({ row, type: "attachments" })}
- >
+ <div className="flex items-center h-8 px-2">
<FileText className="h-4 w-4 mr-1" />
{count}
- </Button>
+ </div>
) : (
<span className="text-muted-foreground text-sm">-</span>
);