From 0690612477d910334ed4b12fa54559a32d48ee76 Mon Sep 17 00:00:00 2001 From: jialin Date: Thu, 16 Jan 2025 22:23:44 +0800 Subject: [PATCH] fix: dashboard usage display --- src/pages/dashboard/components/active-table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/dashboard/components/active-table.tsx b/src/pages/dashboard/components/active-table.tsx index fe742c74..9e6dbade 100644 --- a/src/pages/dashboard/components/active-table.tsx +++ b/src/pages/dashboard/components/active-table.tsx @@ -57,7 +57,7 @@ const ActiveTable = () => { render: (text: any, record: any) => { let val = text; if (!text) { - val = NACategories.includes(record.category?.[0]) ? 'N/A' : 0; + val = !NACategories.includes(record.categories?.[0]) ? 'N/A' : 0; } return (