mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
bug fixes, vyskakovacie okno v kalendari
This commit is contained in:
1 parent
955fdaf087
commit
b5cc4bb977
10 files changed
+77
-11
No files matched your search
@@ -64,6 +64,7 @@ transition-group.vuecal__cell(
|
||||
<script>
|
||||
import Event from './event.vue'
|
||||
import tmUtils from '@/plugins/tm@_utils/tm.utils'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
inject: ['vuecal', 'utils', 'modules', 'view', 'domEvents'],
|
||||
@@ -259,7 +260,17 @@ export default {
|
||||
dateFrom.setHours(Math.floor(DOMEvent.offsetY / 100), 0, 0, 0)
|
||||
const dateTo = new Date(dateFrom)
|
||||
dateTo.setHours(dateFrom.getHours() + 1)
|
||||
this.$events.emit('show-subtask-modal', {})
|
||||
|
||||
const splitDate = split.date
|
||||
|
||||
const time = moment(splitDate).format('hh:mm')
|
||||
const date = moment(splitDate).format('YYYY-MM-DD') // dd.MM.yyyy
|
||||
|
||||
console.log(time)
|
||||
console.log(date)
|
||||
|
||||
this.$events.emit('show-menu-modal', {})
|
||||
|
||||
setTimeout(() => {
|
||||
this.$events.emit('add-timeblock', {
|
||||
id: null,
|
||||
|
||||
Reference in new issue
Block a user