Skip to content

Commit

Permalink
fix(ui): Gantt can failed on low duration (#1256)
Browse files Browse the repository at this point in the history
closes #1118
  • Loading branch information
brian-mulier-p authored May 10, 2023
1 parent 35662f1 commit 434e227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/executions/Gantt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</span>
</template>
<div
:style="{left: Math.max(1, (currentTaskRun.start - 1)) + '%', width: currentTaskRun.width - 1 + '%'}"
:style="{left: currentTaskRun.start + '%', width: currentTaskRun.width + '%'}"
class="task-progress"
@click="onTaskSelect(currentTaskRun.task)"
>
Expand Down

0 comments on commit 434e227

Please sign in to comment.