Merge pull request #34 from prymitive/group-sort-by-id

fix(ui): sort alert groups by id before slicing
This commit is contained in:
Łukasz Mierzwa
2018-09-16 19:35:09 +01:00
committed by GitHub

View File

@@ -95,6 +95,7 @@ const AlertGrid = observer(
}
>
{Object.keys(alertStore.data.groups)
.sort()
.slice(0, this.groupsToRender.value)
.map(id => (
<AlertGroup