From 4737d22a2f149acc1be0e0809f79b69955192f37 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 15 Sep 2020 11:16:01 +0200 Subject: [PATCH] fix gantt to setup --- .../components/gantt/gantt-component.ts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-component.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-component.ts index d7dd3936..14954675 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-component.ts +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-component.ts @@ -114,17 +114,17 @@ export default class GanttComponent extends Vue { showModalStep(step: number, subcategory: string): Promise { switch (step) { - case 0: return ModalHelper.ShowModalAsync(ShowFormatoInfo, { subcategory }); - case 1: return ModalHelper.ShowModalAsync(ShowQuoteVelocitaInfo, { subcategory }); - case 2: return ModalHelper.ShowModalAsync(ShowCicloInfo, { subcategory }); - case 3: return ModalHelper.ShowModalAsync(ShowRiscaldamentoInfo, { subcategory }); - case 4: return ModalHelper.ShowModalAsync(ShowPirometroInfo, { subcategory }); - case 5: return ModalHelper.ShowModalAsync(ShowImbutituraInfo, { subcategory }); - case 6: return ModalHelper.ShowModalAsync(ShowControstampoInfo, { subcategory }); - case 7: return ModalHelper.ShowModalAsync(ShowRaffreddamentoInfo, { subcategory }); - case 8: return ModalHelper.ShowModalAsync(ShowVuotoInfo, { subcategory }); - case 9: return ModalHelper.ShowModalAsync(ShowEstrazioneInfo, { subcategory }); - case 10: return ModalHelper.ShowModalAsync(ShowOpzioniInfo, { subcategory }); + case 0: return ModalHelper.ShowModalAsync(ShowFormatoInfo, subcategory?.toLowerCase()); + case 1: return ModalHelper.ShowModalAsync(ShowQuoteVelocitaInfo, subcategory?.toLowerCase()); + case 2: return ModalHelper.ShowModalAsync(ShowCicloInfo, subcategory?.toLowerCase()); + case 3: return ModalHelper.ShowModalAsync(ShowRiscaldamentoInfo, subcategory?.toLowerCase()); + case 4: return ModalHelper.ShowModalAsync(ShowPirometroInfo, subcategory?.toLowerCase()); + case 5: return ModalHelper.ShowModalAsync(ShowImbutituraInfo, subcategory?.toLowerCase()); + case 6: return ModalHelper.ShowModalAsync(ShowControstampoInfo, subcategory?.toLowerCase()); + case 7: return ModalHelper.ShowModalAsync(ShowRaffreddamentoInfo, subcategory?.toLowerCase()); + case 8: return ModalHelper.ShowModalAsync(ShowVuotoInfo, subcategory?.toLowerCase()); + case 9: return ModalHelper.ShowModalAsync(ShowEstrazioneInfo, subcategory?.toLowerCase()); + case 10: return ModalHelper.ShowModalAsync(ShowOpzioniInfo, subcategory?.toLowerCase()); // case 11: return ModalHelper.ShowModalAsync(AvvioProduzione); }