workfloworchestrator / orchestrator-core-gui

The orchestrator frontend.
Apache License 2.0
7 stars 10 forks source link

Consistent custompage route order #226

Closed Mark90 closed 1 year ago

Mark90 commented 1 year ago

While the order of importedModulesis guaranteed, the order of importedModules.map(...) isn't.

As a result the app will sometimes define (and thus match) <Route> components in a wrong order.

The added .sort() call ensures a consistent order.