mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
chore: change comment
This commit is contained in:
parent
ff33454691
commit
57ebe9c3e8
@ -3,7 +3,7 @@
|
||||
const { STAGE_DEFAULT_COLOR } = require('../constants/workflows');
|
||||
|
||||
async function migrateReviewWorkflowStagesColor({ oldContentTypes, contentTypes }) {
|
||||
// Check if stages table name has a color attribute
|
||||
// Look for CT's color attribute
|
||||
const hadColor = !!oldContentTypes?.['admin::workflow-stage']?.attributes?.color;
|
||||
const hasColor = !!contentTypes['admin::workflow-stage']?.attributes?.color;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user