Skip to content
Snippets Groups Projects
Commit 816162d8 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-29: Form inline expected a boolean

parent e58e07e0
No related branches found
No related tags found
2 merge requests!89Monitoring maintenance Epic branch merge,!1Resolve OSB-13 "Monitoringmaintenance "
......@@ -16,7 +16,7 @@ class ToolBarC extends Component {
}
render() {
return (<div className="sts-toolbar">
<Form inline="inline">
<Form inline>
<select className="form-control custom-select custom-select-sm" id="selected-group" value={this.props.test_type} onChange={(e) => this.setTestType(e)} style={{
width: 'auto'
}}>
......
......@@ -40,7 +40,7 @@ class ToolBarC extends Component {
render() {
return (<div className="landing-page-toolbar">
<Form inline="inline">
<Form inline>
<label htmlFor="selected-group">Station group&nbsp;&nbsp;</label>
<select className="form-control custom-select custom-select-sm" id="selected-group" value={this.props.selectedStationGroup} onChange={(e) => this.onStationGroupChange(e)} style={{
width: 'auto'
......@@ -141,7 +141,7 @@ class LandingPageC extends Component {
return `${url}&${parametersString}`;
}
getStationStatisticsURL() {
let nDaysAgo = moment().add(-this.props.period, 'days').format('YYYY-MM-DD');
let now = moment().format('YYYY-MM-DD');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment