diff --git a/frontend/src/components/gantt/GanttRowBars.vue b/frontend/src/components/gantt/GanttRowBars.vue index bc6434d0e..735e6b92d 100644 --- a/frontend/src/components/gantt/GanttRowBars.vue +++ b/frontend/src/components/gantt/GanttRowBars.vue @@ -144,8 +144,6 @@ import {roundToNaturalDayBoundary} from '@/helpers/time/roundToNaturalDayBoundar import GanttBarPrimitive from './primitives/GanttBarPrimitive.vue' -const {t} = useI18n({useScope: 'global'}) - const props = defineProps<{ bars: GanttBarModel[] totalWidth: number @@ -173,6 +171,8 @@ const emit = defineEmits<{ (e: 'updateTask', id: string, newStart: Date, newEnd: Date): void }>() +const {t} = useI18n({useScope: 'global'}) + const RESIZE_HANDLE_OFFSET = 3 function addDays(dateOrValue: Date | string | number, days: number): Date {