fix(review-workflow): fix persist condition

This commit is contained in:
nathan-pichon 2023-07-05 11:30:46 +02:00
parent 05a46a71f2
commit 9da569e046
No known key found for this signature in database

View File

@ -88,7 +88,7 @@ function persistStagesJoinTables({ strapi }) {
const joinTablesToPersist = pipe([
getVisibleContentTypesUID,
filter(hasStageAttribute),
filter((uid) => hasStageAttribute(contentTypes[uid])),
map(getStageTableToPersist),
])(contentTypes);