1
0

added switch for parameter types

This commit is contained in:
lotte
2020-03-23 10:49:45 +01:00
committed by Art Lowel
parent 7c9c45b7cb
commit 68e2a08af2
10 changed files with 74 additions and 17 deletions

View File

@@ -29,6 +29,10 @@ export class ProcessParametersComponent implements OnChanges {
}
}
removeParameter(index: number) {
this.parameterValues = this.parameterValues.filter((value, i) => i !== index);
}
addParameter() {
this.parameterValues = [...this.parameterValues, new ProcessParameter()];
}