web: components: small fix SearchInput

This commit is contained in:
NikolayRechkin 2019-12-26 13:35:35 +03:00
parent c5848a797f
commit e5f97ec585

View File

@ -84,7 +84,7 @@ class SearchInput extends React.Component {
isIconFill={true}
iconSize={clearButtonSize}
iconColor={"#D0D5DA"}
hoverColor={"#555F65"}
hoverColor={!!this.state.inputValue || this.props.showClearButton ? "#555F65" : "#D0D5DA"}
onIconClick={!!this.state.inputValue || this.props.showClearButton ? this.clearSearch : undefined}
size={this.props.size}
scale={true}