mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-25 01:10:32 +03:00
fix: incorrect refs
This commit is contained in:
+4
-1
@@ -118,7 +118,10 @@ export default {
|
|||||||
this.timeUnit
|
this.timeUnit
|
||||||
)
|
)
|
||||||
let bar = this.bars.find((bar) =>
|
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) })
|
this.$emit('drop', { event: e, bar, time: time.format(this.timeFormat) })
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user