Commit 569d9805 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

fix error message on empty formula2

parent d8edb07f
Pipeline #4001 passed with stage
in 1 minute and 31 seconds
...@@ -1476,7 +1476,7 @@ class LtlCompare extends React.Component { ...@@ -1476,7 +1476,7 @@ class LtlCompare extends React.Component {
} }
updateResult() { updateResult() {
if (this.props.formula === "" || this.state.formula2 === "") { if (this.props.formula === "" || this.props.formula2 === "") {
this.setState({ result: "" }); this.setState({ result: "" });
return; return;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment