mirror of
https://github.com/strapi/strapi.git
synced 2025-11-17 18:51:22 +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');
|
const { STAGE_DEFAULT_COLOR } = require('../constants/workflows');
|
||||||
|
|
||||||
async function migrateReviewWorkflowStagesColor({ oldContentTypes, contentTypes }) {
|
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 hadColor = !!oldContentTypes?.['admin::workflow-stage']?.attributes?.color;
|
||||||
const hasColor = !!contentTypes['admin::workflow-stage']?.attributes?.color;
|
const hasColor = !!contentTypes['admin::workflow-stage']?.attributes?.color;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user