From 153066a95f3ad8c41b56431204d82d0caa8186de Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Sat, 31 Jan 2026 11:14:26 +0800 Subject: [PATCH] fix(frontend): hide action dropdown in CardView when operations list is empty --- frontend/src/components/CardView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/CardView.tsx b/frontend/src/components/CardView.tsx index ace44d2..4ff3de9 100644 --- a/frontend/src/components/CardView.tsx +++ b/frontend/src/components/CardView.tsx @@ -276,7 +276,7 @@ function CardView(props: CardViewProps) { {formatDateTime(item?.updatedAt)} - {operations && ( + {operations && ops(item).length > 0 && ( {