mirror of https://github.com/embarklabs/embark.git
fix: consistent service order in cockpit
This commit is contained in:
parent
33d6e29286
commit
7574e141fa
|
@ -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>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue