Bugfix
This commit is contained in:
parent
870c6b079e
commit
58077874c6
|
@ -68,5 +68,10 @@ async function getStatsUsingAccessPointId(keys) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
return accessPointsWithStats
|
// order accessPointsWithStats in the same order as keys
|
||||||
|
const accessPointsWithStatsOrdered = ids.map(id =>
|
||||||
|
accessPointsWithStats.find(accessPoint => accessPoint.id === id)
|
||||||
|
)
|
||||||
|
|
||||||
|
return accessPointsWithStatsOrdered
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user