fix(schemaExplorer): sort measurements

pull/5858/head
Pavel Zavora 2022-02-09 12:53:03 +01:00
parent 67f0eec3fe
commit 02875f6810
1 changed files with 1 additions and 0 deletions

View File

@ -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 (