[blocker] employee prefill, [unscheduled] deadline

This commit is contained in:
romankko2 committed 2023-08-08 20:06:47 +02:00
1 parent 4163580fd6
commit a2fb04d3b2
5 files changed
+24 -4

No files matched your search

+4 -1
View File
@@ -65,6 +65,7 @@ transition-group.vuecal__cell(
import Event from './event.vue'
import tmUtils from '@/plugins/tm@_utils/tm.utils'
import moment from 'moment'
import { mapGetters } from 'vuex'
export default {
inject: ['vuecal', 'utils', 'modules', 'view', 'domEvents'],
@@ -265,7 +266,8 @@ export default {
this.$events.emit('show-menu-modal', {
time: time,
date: tmUtils.formatDateTimeForBackend(dateFrom)
date: tmUtils.formatDateTimeForBackend(dateFrom),
employee: this.user.id
})
setTimeout(() => {
@@ -308,6 +310,7 @@ export default {
},
computed: {
...mapGetters("auth", ["user"]),
// Drag & drop module.
dnd () {
return this.modules.dnd