File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/lib/forms/widgets/custom_fields Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export class CustomFields extends Component {
96
96
97
97
render ( ) {
98
98
const { sections, discoverFieldsSections } = this . state ;
99
- const { templateLoaders, record } = this . props ;
99
+ const { templateLoaders, record, severityChecks } = this . props ;
100
100
101
101
return (
102
102
< >
@@ -116,6 +116,7 @@ export class CustomFields extends Component {
116
116
< Element
117
117
key = { `section-${ sectionName } ` }
118
118
includesPaths = { paths }
119
+ severityChecks = { severityChecks }
119
120
label = { sectionName }
120
121
active = { active }
121
122
id = { sectionId }
@@ -156,9 +157,11 @@ CustomFields.propTypes = {
156
157
templateLoaders : PropTypes . array . isRequired ,
157
158
fieldPathPrefix : PropTypes . string . isRequired ,
158
159
includesPaths : PropTypes . func ,
160
+ severityChecks : PropTypes . object ,
159
161
record : PropTypes . object . isRequired ,
160
162
} ;
161
163
162
164
CustomFields . defaultProps = {
163
165
includesPaths : ( fields ) => fields . map ( ( field ) => field . key ) ,
166
+ severityChecks : null ,
164
167
} ;
You can’t perform that action at this time.
0 commit comments