mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-19 03:00:33 +03:00
fix: incorrect refs
This commit is contained in:
+4
-1
@@ -118,7 +118,10 @@ export default {
|
||||
this.timeUnit
|
||||
)
|
||||
let bar = this.bars.find((bar) =>
|
||||
time.isBetween(bar[this.barStart], bar[this.barEnd])
|
||||
time.isBetween(
|
||||
bar[this.ganttChartProps.barStartKey],
|
||||
bar[this.ganttChartProps.barEndKey]
|
||||
)
|
||||
)
|
||||
this.$emit('drop', { event: e, bar, time: time.format(this.timeFormat) })
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user