Skip to content

Commit

Permalink
Fix issue building when using an Engine Field Update event without ch…
Browse files Browse the repository at this point in the history
…ange the value
  • Loading branch information
chrismaltby committed May 8, 2024
1 parent 51b84a1 commit 929e0ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/events/eventEngineFieldSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ const compile = (input, helpers) => {
const { engineFieldSetToScriptValue, engineFieldSetToDefault } = helpers;
if (!input.value) {
engineFieldSetToDefault(input.engineFieldKey);
} else {
engineFieldSetToScriptValue(input.engineFieldKey, input.value);
}
engineFieldSetToScriptValue(input.engineFieldKey, input.value)
};

module.exports = {
Expand Down

0 comments on commit 929e0ec

Please sign in to comment.