Fix querynodeselect (for now)

master
Rohan Vazarkar 2018-01-19 12:32:45 -05:00
parent 7771af22c5
commit 92857f8c48
2 changed files with 53 additions and 49 deletions

View File

@ -24,7 +24,7 @@ export default class AppContainer extends Component {
return (
<TransitionGroup className="max">
<CSSTransition classNames="mainfade"
appear={true}
appear
timeout={1000}>
<div className="max">
<GenericAlert />

View File

@ -50,10 +50,14 @@ export default class QueryNodeSelect extends Component {
}
render() {
var header = <QueryNodeSelectHeader length={this.state.data.length} title={this.state.queryData.boxTitle} dismiss={this._dismiss.bind(this)}/>;
return (
<div className="queryNodeSelect" ref="outer">
<Panel header={header}>
<Panel>
<Panel.Heading>
{/* <QueryNodeSelectHeader length={this.state.data.length} title={this.state.queryData.boxTitle} dismiss={this._dismiss.bind(this)} />; */}
{this.state.queryData.boxTitle}
</Panel.Heading>
<Panel.Body>
<If condition={this.state.data.length > 0}>
<Then>
<ListGroup ref="list">
@ -70,8 +74,8 @@ export default class QueryNodeSelect extends Component {
}
</Else>
</If>
</Panel.Body>
</Panel>
</div>
);
}