Fixes a little console error bug.

Also updates package lock/package.json so you can run a halfway decent dev server. (Use npn run start:dev)
This commit is contained in:
alicia pritchett 2021-10-19 11:49:03 -04:00
parent 3df3953ae9
commit b877511182
4 changed files with 54 additions and 21354 deletions

View File

@ -10,6 +10,8 @@ This project was generated with [Angular CLI](https://github.com/angular/angular
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
You can also user `npm run start:dev` to get a dev server with lazy loading. This makes development much more efficient
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

21400
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -66,7 +66,7 @@
"sartography-workflow-lib": "0.0.571",
"tslib": "^2.3.0",
"uuid": "^8.3.2",
"zone.js": "^0.11.4"
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^12.1.0",

View File

@ -127,12 +127,10 @@ export class WorkflowSpecListComponent implements OnInit {
});
dialogRef.afterClosed().subscribe((data: WorkflowSpecDialogData) => {
if (data.id) {
data.id = this.toLowercaseId(data.id);
if (data && data.id && data.display_name && data.description) {
data.id = this.toLowercaseId(data.id);
this._upsertWorkflowSpecification(selectedSpec == null, data);
}
}
});
}