Skip to content

Commit

Permalink
re-run validations with preview arguments if supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpamer committed Oct 2, 2023
1 parent 65904d2 commit 0564688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/activity/ActivityDirectiveForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
}
});
}
$: validateArguments(activityDirective.arguments);
$: validateArguments(revision ? revision.arguments : activityDirective.arguments);
$: numOfUserChanges = formParameters.reduce((previousHasChanges: number, formParameter) => {
return /user/.test(formParameter.valueSource) ? previousHasChanges + 1 : previousHasChanges;
}, 0);
Expand Down

0 comments on commit 0564688

Please sign in to comment.