mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
fixed remove parameter bug
This commit is contained in:
@@ -88,6 +88,7 @@ export class ProcessParametersComponent implements OnChanges {
|
||||
*/
|
||||
removeParameter(index: number) {
|
||||
this.parameterValues = this.parameterValues.filter((value, i) => i !== index);
|
||||
this.updateParameters.emit(this.parameterValues.filter((param: ProcessParameter) => hasValue(param.name)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user