This commit is contained in:
IDONTSUDO 2025-01-26 18:40:26 +03:00
parent 470a7ef43e
commit 2afed3a4f0

View file

@ -15,6 +15,12 @@ export class SelectProcessStore extends FormState<SelectProcessModel, any> {
}
async init(navigate?: NavigateFunction | undefined): Promise<any> {
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;
})
}
}