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 3f4b18d1..194ea386 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 @@ -34,7 +34,7 @@ export default class GanttComponent extends Vue { case 5: value = this.ganttOptions.block_body_Cooling_minDuration; case 6: value = this.ganttOptions.block_body_Extraction_minDuration; } - return Math.max(value, this.value.estimatedDuration / 1000); + return Math.max(value, this.value.estimatedDuration); } get showStatus() { @@ -42,7 +42,7 @@ export default class GanttComponent extends Vue { } get delayDuration() { - return this.value.showDelay ? Math.max(this.value.estimatedDelay / 1000, this.ganttOptions.block_delay_minDuration) : 0; + return this.value.showDelay ? Math.max(this.value.estimatedDelay, this.ganttOptions.block_delay_minDuration) : 0; } get actualDelay() { diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-component.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-component.vue index fecdcc8c..e4626e84 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-component.vue +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/processo/components/gantt/gantt-component.vue @@ -18,7 +18,7 @@ - + {{value.label | localize(value.label)}} - + 0 && includeDelay)