Cleanup
This commit is contained in:
parent
713804046b
commit
ebc8f80dbd
@ -273,12 +273,6 @@ function applyRangeDuringDrag(st, startDate, endDate) {
|
|||||||
}
|
}
|
||||||
store.setEventRange(st.id, startDate, endDate, { mode: st.mode })
|
store.setEventRange(st.id, startDate, endDate, { mode: st.mode })
|
||||||
}
|
}
|
||||||
|
|
||||||
function timeToMinutes(timeStr) {
|
|
||||||
if (!timeStr) return 0
|
|
||||||
const [hours, minutes] = timeStr.split(':').map(Number)
|
|
||||||
return hours * 60 + minutes
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user