diff --git a/frontend/src/components/contents/index.tsx b/frontend/src/components/contents/index.tsx index c2c104b..a4f3bbb 100644 --- a/frontend/src/components/contents/index.tsx +++ b/frontend/src/components/contents/index.tsx @@ -165,8 +165,9 @@ export const Contents = () => { field: "entity", headerName: t("label.entity"), flex: 1, - valueGetter: (row: IContent) => { - const contentType = getEntityFromCache(row.id); + renderCell: ({ value }) => { + const id = typeof value === "string" ? value : value.id; + const contentType = getEntityFromCache(id); return contentType?.name; },