Skip to content

Commit 75c4d84

Browse files
committed
Changed resolve method's name
1 parent f72a62c commit 75c4d84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ export function stubExistingAdditionalProperties(
662662
return schema;
663663
}
664664

665-
const _resolveCondition = (schema, rootSchema, formdata) => {
665+
const resolveCondition = (schema, rootSchema, formdata) => {
666666
let {
667667
if: expression,
668668
then,
@@ -692,7 +692,7 @@ export function resolveSchema(schema, rootSchema = {}, formData = {}) {
692692
const resolvedSchema = resolveDependencies(schema, rootSchema, formData);
693693
return retrieveSchema(resolvedSchema, rootSchema, formData);
694694
} else if (schema.hasOwnProperty("if")) {
695-
return _resolveCondition(schema, rootSchema, formData);
695+
return resolveCondition(schema, rootSchema, formData);
696696
} else if (schema.hasOwnProperty("allOf")) {
697697
return {
698698
...schema,

0 commit comments

Comments
 (0)