fix(frontend): apply feedback updates

This commit is contained in:
yassinedorbozgithub 2024-10-03 17:21:30 +01:00
parent 3258781d5f
commit b9a8405389

View File

@ -165,9 +165,8 @@ export const Contents = () => {
field: "entity", field: "entity",
headerName: t("label.entity"), headerName: t("label.entity"),
flex: 1, flex: 1,
renderCell: ({ value }) => { valueGetter: (row: IContent) => {
const id = typeof value === "string" ? value : value.id; const contentType = getEntityFromCache(row.id);
const contentType = getEntityFromCache(id);
return contentType?.name; return contentType?.name;
}, },