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 {