Fix querynodeselect (for now)
parent
7771af22c5
commit
92857f8c48
|
@ -24,7 +24,7 @@ export default class AppContainer extends Component {
|
||||||
return (
|
return (
|
||||||
<TransitionGroup className="max">
|
<TransitionGroup className="max">
|
||||||
<CSSTransition classNames="mainfade"
|
<CSSTransition classNames="mainfade"
|
||||||
appear={true}
|
appear
|
||||||
timeout={1000}>
|
timeout={1000}>
|
||||||
<div className="max">
|
<div className="max">
|
||||||
<GenericAlert />
|
<GenericAlert />
|
||||||
|
|
|
@ -50,10 +50,14 @@ export default class QueryNodeSelect extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
var header = <QueryNodeSelectHeader length={this.state.data.length} title={this.state.queryData.boxTitle} dismiss={this._dismiss.bind(this)}/>;
|
|
||||||
return (
|
return (
|
||||||
<div className="queryNodeSelect" ref="outer">
|
<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}>
|
<If condition={this.state.data.length > 0}>
|
||||||
<Then>
|
<Then>
|
||||||
<ListGroup ref="list">
|
<ListGroup ref="list">
|
||||||
|
@ -70,8 +74,8 @@ export default class QueryNodeSelect extends Component {
|
||||||
}
|
}
|
||||||
</Else>
|
</Else>
|
||||||
</If>
|
</If>
|
||||||
|
</Panel.Body>
|
||||||
</Panel>
|
</Panel>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue