Fixes #580 - Sort Libraries Alphabetically
This commit is contained in:
parent
31ea436e4e
commit
1e0798a55b
|
@ -248,6 +248,8 @@ export class WorkflowSpecListComponent implements OnInit {
|
|||
private _loadWorkflowLibraries(selectedSpecName: string = null) {
|
||||
this.api.getWorkflowSpecificationLibraries().subscribe(wfs => {
|
||||
this.workflowLibraries = wfs;
|
||||
// Sort libraries alphabetically
|
||||
this.workflowLibraries.sort((a,b) => a.display_name.localeCompare(b.display_name));
|
||||
|
||||
// If selected spec is a library, set it.
|
||||
if (selectedSpecName) {
|
||||
|
|
Loading…
Reference in New Issue