mirror of
https://github.com/strapi/strapi.git
synced 2025-10-29 08:59:34 +00:00
chore: add default stage color constant
This commit is contained in:
parent
eb70b19e1b
commit
dad3437033
@ -4,5 +4,6 @@
|
||||
module.exports = {
|
||||
WORKFLOW_MODEL_UID: 'admin::workflow',
|
||||
STAGE_MODEL_UID: 'admin::workflow-stage',
|
||||
STAGE_DEFAULT_COLOR: '#4945FF',
|
||||
ENTITY_STAGE_ATTRIBUTE: 'strapi_reviewWorkflows_stage',
|
||||
};
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const { STAGE_DEFAULT_COLOR } = require('../../constants/workflows');
|
||||
|
||||
module.exports = {
|
||||
schema: {
|
||||
collectionName: 'strapi_workflows_stages',
|
||||
@ -27,7 +29,7 @@ module.exports = {
|
||||
color: {
|
||||
type: 'string',
|
||||
configurable: false,
|
||||
default: '#4945FF',
|
||||
default: STAGE_DEFAULT_COLOR,
|
||||
},
|
||||
workflow: {
|
||||
type: 'relation',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user