From 550b16cfd39abd0429fb4e17a481aeffad55b964 Mon Sep 17 00:00:00 2001 From: Ardeman Date: Sun, 9 Mar 2025 13:44:04 +0800 Subject: [PATCH] refactor: update display of categories and tags with improved text size --- app/pages/dashboard-contents/index.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/pages/dashboard-contents/index.tsx b/app/pages/dashboard-contents/index.tsx index 9d35d10..f6092fc 100644 --- a/app/pages/dashboard-contents/index.tsx +++ b/app/pages/dashboard-contents/index.tsx @@ -62,9 +62,12 @@ export const ContentsPage = () => {
ID: {data.id.slice(0, 8)}
), - 4: (value: TCategoryResponse[]) => - value.map((item) => item.name).join(', '), - 5: (value: TTagResponse[]) => value.map((item) => item.name).join(', '), + 4: (value: TCategoryResponse[]) => ( +
{value.map((item) => item.name).join(', ')}
+ ), + 5: (value: TTagResponse[]) => ( +
{value.map((item) => item.name).join(', ')}
+ ), 6: (value: string) => value ? (