Fix Job Parameters (#1857)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
292a91ad00
commit
a1b39fbb0d
+1
-1
@@ -5,7 +5,7 @@
|
||||
<div *ngFor="let job of selectedJobs">
|
||||
<mifosx-custom-parameters-table
|
||||
[displayName]="job.displayName"
|
||||
[jobId]="job.id"
|
||||
[jobId]="job.jobId"
|
||||
[jobParameters]="job.jobParameters"
|
||||
(retrieveData)="runSelectedJobs($event)"
|
||||
>
|
||||
|
||||
+2
-2
@@ -20,8 +20,8 @@ export interface RunJobWithParamPayloadType {
|
||||
}
|
||||
|
||||
export interface JobParameterType {
|
||||
jobParameterName: string;
|
||||
jobParameterValue: string;
|
||||
parameterName: string;
|
||||
parameterValue: string;
|
||||
}
|
||||
|
||||
interface JobDataType {
|
||||
|
||||
+4
-4
@@ -27,8 +27,8 @@ export class CustomParametersTableComponent implements OnInit {
|
||||
ngOnInit(): void {
|
||||
this.updatedJobParameters = this.jobParameters;
|
||||
this.updatedJobParameters.push({
|
||||
jobParameterName: '',
|
||||
jobParameterValue: ''
|
||||
parameterName: '',
|
||||
parameterValue: ''
|
||||
});
|
||||
}
|
||||
|
||||
@@ -36,8 +36,8 @@ export class CustomParametersTableComponent implements OnInit {
|
||||
this.updatedJobParameters = [
|
||||
...this.updatedJobParameters,
|
||||
{
|
||||
jobParameterName: '',
|
||||
jobParameterValue: ''
|
||||
parameterName: '',
|
||||
parameterValue: ''
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user