Skip to content

Commit 0438e2b

Browse files
committed
add validation check to targets
1 parent e82d3fe commit 0438e2b

File tree

1 file changed

+1
-1
lines changed
  • packages/selenium-ide/src/neo/components/CommandForm

1 file changed

+1
-1
lines changed

packages/selenium-ide/src/neo/components/CommandForm/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ import "./style.css";
6767
name="target"
6868
label="Target"
6969
value={this.props.command ? this.props.command.target : ""}
70-
targets={this.props.command.targets}
70+
targets={this.props.command ? this.props.command.targets : []}
7171
disabled={!this.props.command}
7272
onChange={this.props.command ? this.props.command.setTarget : null} />
7373
<FlatButton

0 commit comments

Comments
 (0)