From 1349605d6ef92e3f0ef1275bffd7f6a04da4870f Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Sun, 20 Apr 2025 03:24:18 +0800 Subject: [PATCH] update listening practice category listing, --- .../components/dashboard/lp_categories/lp-categories-table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/002_source/cms/src/components/dashboard/lp_categories/lp-categories-table.tsx b/002_source/cms/src/components/dashboard/lp_categories/lp-categories-table.tsx index d797d94..5e98ed4 100644 --- a/002_source/cms/src/components/dashboard/lp_categories/lp-categories-table.tsx +++ b/002_source/cms/src/components/dashboard/lp_categories/lp-categories-table.tsx @@ -144,8 +144,8 @@ export interface LpCategoriesTableProps { } function getCatImageFromId(row: LpCategory): string | undefined { + return `http://127.0.0.1:8090/api/files/${row.collectionId}/${row.id}/${row.cat_image}`; return 'get cat image from id'; - // return `http://127.0.0.1:8090/api/files/${'row.collectionId'}/${'row.id'}/${'row.cat_image'}`; } export function LpCategoriesTable({ rows }: LpCategoriesTableProps): React.JSX.Element {