File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/containers/SequenceSearch/components/SearchForm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,10 @@ class SearchForm extends React.Component {
8585 </ div >
8686 < div className = "small-3 columns" >
8787 < div className = "row" >
88- < input id = "submit-button" style = { { background : searchButtonColor } } name = "submit" type = "submit" value = "Search" className = "button" />
88+ < input id = "submit-button" style = { { background : searchButtonColor } } name = "submit" type = "submit" value = "Search" className = "button" disabled = { ! this . props . sequence ? "disabled" : "" } />
8989 </ div >
9090 < div className = "row" >
91- < input id = "clear-button" style = { { background : clearButtonColor } } name = "clear" type = "submit" value = "Clear" className = "button" onClick = { this . props . onClearSequence } />
91+ < input id = "clear-button" style = { { background : clearButtonColor } } name = "clear" type = "submit" value = "Clear" className = "button" onClick = { this . props . onClearSequence } disabled = { ! this . props . sequence ? "disabled" : "" } />
9292 </ div >
9393 {
9494 database . indexOf ( "RFAM" ) === - 1 && < div >
You can’t perform that action at this time.
0 commit comments