little changes

This commit is contained in:
alicia pritchett 2021-09-27 09:59:18 -04:00
parent 3cf7535d50
commit bd49c777c7
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
<mat-divider></mat-divider>
<ng-container>
<div class="category" fxLayout="row">
<h4>Library Specs</h4>
<h4 style="margin-top: 5px">Library Specs</h4>
<button id="add_spec" title="Add new Library" mat-flat-button color="primary" (click)="editWorkflowSpec('library')" fxLayoutAlign="start">
<mat-icon>library_add</mat-icon>
@ -51,7 +51,7 @@
<ng-container>
<div class="category" fxLayout="row">
<h4>Study Specs</h4>
<h4 style="margin-top: 5px">Study Specs</h4>
<button id="add_category" title="Add new Category" mat-flat-button color="accent" (click)="editWorkflowSpecCategory()" fxLayoutAlign="stretch">
<mat-icon>post_add</mat-icon>

View File

@ -135,7 +135,7 @@ export class WorkflowSpecListComponent implements OnInit {
category_id: selectedSpec ? selectedSpec.category_id : null,
display_order: hasDisplayOrder ? selectedSpec.display_order : 0,
standalone: selectedSpec ? selectedSpec.standalone : null,
library: selectedSpec ? selectedSpec.library : (state === 'library'),
library: selectedSpec ? selectedSpec.library : null,
};
// Open new filename/workflow spec dialog