diff --git a/src/app/workflow-spec-list/workflow-spec-list.component.html b/src/app/workflow-spec-list/workflow-spec-list.component.html index 21074df..1a01e77 100644 --- a/src/app/workflow-spec-list/workflow-spec-list.component.html +++ b/src/app/workflow-spec-list/workflow-spec-list.component.html @@ -31,7 +31,7 @@ - +

All Libraries

@@ -69,7 +69,7 @@
- +
diff --git a/src/app/workflow-spec-list/workflow-spec-list.component.ts b/src/app/workflow-spec-list/workflow-spec-list.component.ts index 2f8b4a5..cb8a56d 100644 --- a/src/app/workflow-spec-list/workflow-spec-list.component.ts +++ b/src/app/workflow-spec-list/workflow-spec-list.component.ts @@ -52,9 +52,8 @@ export class WorkflowSpecListComponent implements OnInit { selectedCat: WorkflowSpecCategory; workflowSpecsByCategory: WorkflowSpecCategoryGroup[] = []; categories: WorkflowSpecCategory[]; - // moveUp = moveArrayElementUp; - // moveDown = moveArrayElementDown; searchField: FormControl; + library_toggle: boolean; constructor( private api: ApiService, @@ -101,6 +100,10 @@ export class WorkflowSpecListComponent implements OnInit { return this.selectedCat && this.selectedCat.id === cat.id; } + libraryToggle(t: boolean) { + this.library_toggle = t; + } + selectSpec(selectedSpec?: WorkflowSpec) { this.selectedSpec = selectedSpec; this.location.replaceState(environment.homeRoute + '/' + selectedSpec.id); @@ -253,6 +256,7 @@ export class WorkflowSpecListComponent implements OnInit { wfs.forEach(ws => { if (selectedSpecName && selectedSpecName === ws.id) { this.selectedSpec = ws; + this.library_toggle = true; } }); } else {