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 615a2de0..11c19d8c 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 @@ -45,7 +45,11 @@ export default class GanttComponent extends Vue { return this.value.showDelay ? Math.max(this.value.estimatedDelay / 1000, this.ganttOptions.block_delay_minDuration) : 0; } - mounted() { - this.value.showDelay = true; + get statusDuration() { + return this.showStatus ? this.ganttOptions.block_status_minDuration : 0; } + + // mounted() { + // this.value.showDelay = true; + // } } \ No newline at end of file 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 9c4605b5..492c8ae7 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 @@ -2,7 +2,7 @@ @@ -34,8 +34,26 @@ + + + + + {{value.label | localize(value.label)}} + + + + -