mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
console: sort ET in alphabetical ordering
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/11021 GitOrigin-RevId: 83ae9bc6328c4d38c647b0ddee176ed1ae245d19
This commit is contained in:
parent
da544547ff
commit
397ce4dca2
@ -74,7 +74,9 @@ const LeftSidebar: React.FC<Props> = props => {
|
||||
>
|
||||
{service === 'data' ? (
|
||||
<TreeView
|
||||
items={items as EventTrigger[]}
|
||||
items={[...(items as EventTrigger[])].sort((a, b) =>
|
||||
a.name.toLowerCase().localeCompare(b.name.toLowerCase())
|
||||
)}
|
||||
icon={getSidebarIcon()}
|
||||
service="triggers"
|
||||
currentItem={currentTrigger as EventTrigger}
|
||||
|
Loading…
Reference in New Issue
Block a user