Skip to content

Commit

Permalink
Add alpha sorting for splitters and resolvers
Browse files Browse the repository at this point in the history
This stops resolvers and splitters from jumping around as you make
configuration changes
  • Loading branch information
John Cowen committed Dec 11, 2019
1 parent d661fa6 commit da48aac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui-v2/app/templates/components/discovery-chain.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</h2>
</header>
<div role="group">
{{#each splitters as |item|}}
{{#each (sort-by 'Name' splitters) as |item|}}
{{splitter-card item=item onclick=(action 'click')}}
{{/each}}
</div>
Expand All @@ -53,7 +53,7 @@
</h2>
</header>
<div role="group">
{{#each resolvers as |item|}}
{{#each (sort-by 'Name' resolvers) as |item|}}
{{resolver-card item=item onclick=(action 'click')}}
{{/each}}
</div>
Expand Down

0 comments on commit da48aac

Please sign in to comment.