Skip to content

Commit

Permalink
Fix parameters list not updating when the function configuration was …
Browse files Browse the repository at this point in the history
…changed (#7321)
  • Loading branch information
D8H authored Jan 17, 2025
1 parent f3dea01 commit 4a685db
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,12 @@ export default class EventsFunctionConfigurationEditor extends React.Component<
eventsFunctionsContainer={eventsFunctionsContainer}
eventsFunctionsExtension={eventsFunctionsExtension}
helpPagePath={helpPagePath}
onConfigurationUpdated={onConfigurationUpdated}
onConfigurationUpdated={extensionItemConfigurationAttribute => {
onConfigurationUpdated &&
onConfigurationUpdated(extensionItemConfigurationAttribute);
// A function configuration change may impact the parameters.
this.forceUpdate();
}}
renderConfigurationHeader={renderConfigurationHeader}
freezeEventsFunctionType={freezeEventsFunctionType}
getFunctionGroupNames={getFunctionGroupNames}
Expand Down

0 comments on commit 4a685db

Please sign in to comment.