Skip to content
Snippets Groups Projects
Commit 17de58e9 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

rename button to "Update" instead of "Save Changes" when modifying an expression.

parent 65a77ab1
Branches
Tags
No related merge requests found
......@@ -76,7 +76,7 @@ export default class ExpressionWidget extends Component {
<button
className={cx("Button", {"Button--primary": this.isValid()})}
onClick={() => this.props.onSetExpression(this.state.name, this.state.expression)}
disabled={!this.isValid()}>{this.props.expression ? "Save changes" : "Done"}</button>
disabled={!this.isValid()}>{this.props.expression ? "Update" : "Done"}</button>
<span className="pl1">or</span> <a className="link" onClick={() => this.props.onCancel()}>Cancel</a>
</div>
<div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment