Merge pull request #17233 from strapi/fix/cm-list-view-stage

Fix: Update stage keys for the CM list-view
This commit is contained in:
Gustav Hansen 2023-07-07 17:16:14 +02:00 committed by GitHub
commit 986e9f5264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,10 +181,10 @@ export const TableRows = ({
if (hasReviewWorkflows && name === 'strapi_reviewWorkflows_stage') {
return (
<Td key={key}>
{data.strapi_reviewWorkflows_stage ? (
{data.strapi_stage ? (
<ReviewWorkflowsStage
color={data.strapi_reviewWorkflows_stage.color}
name={data.strapi_reviewWorkflows_stage.name}
color={data.strapi_stage.color}
name={data.strapi_stage.name}
/>
) : (
<Typography textColor="neutral800">-</Typography>