Skip to content

Commit

Permalink
Merge f823289 into 522cb33
Browse files Browse the repository at this point in the history
  • Loading branch information
dgiannico19 committed Apr 8, 2024
2 parents 522cb33 + f823289 commit a0b4360
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/schemas/edit-new/modules/components/checkList.js
Expand Up @@ -7,7 +7,8 @@ const translateTypes = {
oneOf: [
{ type: 'string', pattern: '^(?!views|common)[a-zA-Z]+\\.[a-zA-Z]+$' },
{ type: 'boolean' }
]
],
default: true
};

module.exports = makeComponent({
Expand Down
2 changes: 0 additions & 2 deletions tests/mocks/schemas/edit.yml
Expand Up @@ -1196,7 +1196,6 @@ sections:
groupField: statusName
labelField: name
valueField: id
translateSectionLabel: true
translateGroupLabel: false
translateCheckboxLabel: false

Expand Down Expand Up @@ -1225,7 +1224,6 @@ sections:
groupField: statusName
labelField: name
valueField: id
translateSectionLabel: true
translateGroupLabel: delivery.title
translateCheckboxLabel: false

Expand Down
5 changes: 4 additions & 1 deletion tests/mocks/schemas/expected/edit.json
Expand Up @@ -1859,7 +1859,10 @@
"sectionField": "service",
"groupField": "module",
"labelField": "action",
"valueField": "key"
"valueField": "key",
"translateSectionLabel": true,
"translateGroupLabel": true,
"translateCheckboxLabel": true
}
},
{
Expand Down

0 comments on commit a0b4360

Please sign in to comment.