Skip to content

Commit

Permalink
fix: reduce judgment (#3916)
Browse files Browse the repository at this point in the history
  • Loading branch information
hchlq authored Aug 4, 2023
1 parent 8508358 commit da52e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/json-schema/src/transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const getUserReactions = (
const compiledWhen = shallowCompile(when, scope)
const condition = when ? compiledWhen : true
const request = condition ? fulfill : otherwise
const runner = condition ? fulfill?.run : otherwise?.run
const runner = request?.run
setSchemaFieldState({
field,
target,
Expand Down

0 comments on commit da52e7c

Please sign in to comment.