Fixed Tests

This commit is contained in:
Nile Walker 2021-03-22 13:23:13 -04:00
parent 9c441e68ca
commit 0fdfa0d942
1 changed files with 5 additions and 3 deletions

View File

@ -375,9 +375,11 @@ export class WorkflowSpecListComponent implements OnInit {
}
private _updateSpecDisplayOrders(specs: WorkflowSpec[]) {
if (this.selectedCat && this.selectedSpec.category) {
if (this.selectedCat.id !== this.selectedSpec.category.id) {
this.selectedSpec = specs[0];
}
}
let numUpdated = 0;
specs.forEach((spec, j) => {
const newSpec = createClone({ circles: true })(spec);