diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-row.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-row.ts index 17b0d901..dc637e74 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-row.ts +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-row.ts @@ -61,7 +61,8 @@ export default class GanttRow extends Vue { if (!myrow) rows.push(myrow = []); // inserisco il mio blocco per occupare la posizione - myrow.push({ from: myStartPosition, to: myEndPosition, id: block.id }); + if (block.visible) + myrow.push({ from: myStartPosition, to: myEndPosition, id: block.id }); // la posizione verticale รจ al posizione della riga nell'elenco delle righe. return rows.indexOf(myrow) * (this.ganttOptions.elementHeight + this.ganttOptions.elementPadding * 2); diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-row.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-row.vue index c4fb4482..b4046dbf 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-row.vue +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-row.vue @@ -3,9 +3,8 @@ -