fix
This commit is contained in:
parent
470a7ef43e
commit
2afed3a4f0
1 changed files with 7 additions and 1 deletions
|
@ -15,6 +15,12 @@ export class SelectProcessStore extends FormState<SelectProcessModel, any> {
|
||||||
}
|
}
|
||||||
async init(navigate?: NavigateFunction | undefined): Promise<any> {
|
async init(navigate?: NavigateFunction | undefined): Promise<any> {
|
||||||
await this.mapOk('calculationInstances', this.selectProcessRepository.getAllProcessByType(this.viewModel.type));
|
await this.mapOk('calculationInstances', this.selectProcessRepository.getAllProcessByType(this.viewModel.type));
|
||||||
console.log(this.calculationInstances);
|
|
||||||
|
this.calculationInstances = this.calculationInstances.map((el) => {
|
||||||
|
// @ts-ignore
|
||||||
|
delete el['formBuilder'];
|
||||||
|
return el;
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue