mirror of
https://github.com/prymitive/karma
synced 2026-05-11 03:46:48 +00:00
Merge pull request #34 from prymitive/group-sort-by-id
fix(ui): sort alert groups by id before slicing
This commit is contained in:
@@ -95,6 +95,7 @@ const AlertGrid = observer(
|
||||
}
|
||||
>
|
||||
{Object.keys(alertStore.data.groups)
|
||||
.sort()
|
||||
.slice(0, this.groupsToRender.value)
|
||||
.map(id => (
|
||||
<AlertGroup
|
||||
|
||||
Reference in New Issue
Block a user