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",
|
||||
headerName: t("label.entity"),
|
||||
flex: 1,
|
||||
renderCell: ({ value }) => {
|
||||
const id = typeof value === "string" ? value : value.id;
|
||||
const contentType = getEntityFromCache(id);
|
||||
valueGetter: (row: IContent) => {
|
||||
const contentType = getEntityFromCache(row.id);
|
||||
|
||||
return contentType?.name;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user