renderToFromParams()

in public/components/reindexForm.react.js [61:78]


    renderToFromParams() {
        if (!this.props.contentSource.contentSourceSettings.supportsToFromParams) {
            return (
                <Alert bsStyle="info">Reindexing for a specific period of time is not supported with this content source. You may only reindex <strong>all</strong>.</Alert>
            );
        } else {
            return (
                <Row>
                    <Col xs={6}>
                        <Input type="date" label="Start date" value={this.state.startDate} onChange={this.handleStartDate.bind(this)} />
                    </Col>
                    <Col xs={6}>
                        <Input type="date" label="End Date" value={this.state.endDate} onChange={this.handleEndDate.bind(this)} />
                    </Col>
                </Row>
            );
        }
    }