mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[timeline] selected employee prefill
This commit is contained in:
1 parent
4e9700069a
commit
8521f5429b
2 files changed
+3
-2
No files matched your search
@@ -265,7 +265,7 @@ export default {
|
||||
const time = moment(dateFrom).format('HH:mm')
|
||||
|
||||
const isTeamCalendar = this.$route.name === 'Dashboard - Teams'
|
||||
const employee = isTeamCalendar ? split.employee_id : this.user.id
|
||||
const employee = isTeamCalendar ? split.employee_id : Number(localStorage.getItem('selectedEmployee') || this.user.id)
|
||||
|
||||
this.$events.emit('show-menu-modal', {
|
||||
time,
|
||||
|
||||
Reference in new issue
Block a user