add sorting in date and test dropdowns

This commit is contained in:
prisar
2023-07-22 13:51:20 +05:30
parent 93208b00c8
commit a12dd7fd9c
5 changed files with 22 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ import './DeviceGraph.css';
class AbsorbanceGraph extends Component {
constructor(props) {
super(props);
this.state = { url: this.props.url };
this.state = { url: this.props.url, show: this.props.show };
}
componentDidMount() {
this.drawChart(this.props.url);