Skip to content
Snippets Groups Projects
Commit 78bcd449 authored by vkovtun's avatar vkovtun
Browse files

SSDM-13579: Fixed the issue that the input form was cleared when it shouldn't.

parent 93675500
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -44,13 +44,18 @@ class InputDialog extends React.Component {
const { onConfirm } = this.props
const { value } = this.state
onConfirm(value)
this.clearInput()
if (!this.props.inputValue) {
this.clearInput()
}
}
handleCancelClick() {
const { onCancel } = this.props
onCancel()
this.clearInput()
if (!this.props.inputValue) {
this.clearInput()
}
}
clearInput() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment