Skip to content

Commit

Permalink
Fix the parameter name field to avoid to change the name when no chan…
Browse files Browse the repository at this point in the history
…ge was done
  • Loading branch information
D8H committed Nov 20, 2024
1 parent ac6b64b commit ad38963
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,9 @@ export const EventsFunctionParametersEditor = ({
translatableHintText={t`Enter the parameter name (mandatory)`}
value={parameter.getName()}
onChange={newName => {
if (newName === parameter.getName()) {
return;
}
const projectScopedContainers = projectScopedContainersAccessor.get();
const validatedNewName = getValidatedParameterName(
parameters,
Expand Down

0 comments on commit ad38963

Please sign in to comment.