Skip to content

Commit

Permalink
fix: validscript scope error
Browse files Browse the repository at this point in the history
  • Loading branch information
patelmilanun committed Nov 11, 2023
1 parent 3f2c748 commit 95f8c97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class ExecuteScriptRowsDialog extends React.Component {

handleScriptChange(scriptName) {
this.setState({
currentScript: validScripts.find(script => script.name === scriptName),
currentScript: this.state.validScripts.find(script => script.title === scriptName),
});
}

Expand Down

0 comments on commit 95f8c97

Please sign in to comment.