mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 13:05:15 +00:00
fix(frontend): apply feedback updates
This commit is contained in:
parent
3258781d5f
commit
b9a8405389
@ -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;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user