fix(schemaExplorer): sort measurements
parent
67f0eec3fe
commit
02875f6810
|
@ -65,6 +65,7 @@ class MeasurementsList extends PureComponent<Props, State> {
|
|||
const {source, db, notify, loading} = this.props
|
||||
const {searchTerm} = this.state
|
||||
const measurementEntries = Object.entries(this.props.measurements)
|
||||
measurementEntries.sort((a, b) => a[0].localeCompare(b[0]))
|
||||
|
||||
if (loading === RemoteDataState.Error) {
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue