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') { if (hasReviewWorkflows && name === 'strapi_reviewWorkflows_stage') {
return ( return (
<Td key={key}> <Td key={key}>
{data.strapi_reviewWorkflows_stage ? ( {data.strapi_stage ? (
<ReviewWorkflowsStage <ReviewWorkflowsStage
color={data.strapi_reviewWorkflows_stage.color} color={data.strapi_stage.color}
name={data.strapi_reviewWorkflows_stage.name} name={data.strapi_stage.name}
/> />
) : ( ) : (
<Typography textColor="neutral800">-</Typography> <Typography textColor="neutral800">-</Typography>