Skip to content

Commit

Permalink
fix: consistent service order in cockpit
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Medeiros authored and iurimatias committed Dec 20, 2018
1 parent 33d6e29 commit 7574e14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion embark-ui/src/components/Processes.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ Process.propTypes = {

const Processes = ({processes}) => (
<Row>
{processes.map((process) => <Process key={process.name} process={process} />)}
{processes
.sort((a, b) => a.name < b.name ? 1 : 0)
.map((process) => <Process key={process.name} process={process} />)}
</Row>
);

Expand Down

0 comments on commit 7574e14

Please sign in to comment.