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
@@ -53,7 +53,7 @@ export default {
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.selectedEmployee = this.user.id
|
||||
this.selectedEmployee = Number(localStorage.getItem('selectedEmployee') || this.user.id)
|
||||
// this.time = this.unscheduledTime
|
||||
this.$nextTick(() => this._updateFilters())
|
||||
},
|
||||
@@ -88,6 +88,7 @@ export default {
|
||||
selectedEmployee(id) {
|
||||
this.filter.employee = this.enrichedEmployees.find(employee => employee.id == id)
|
||||
this._emitFilterChanged()
|
||||
localStorage.setItem('selectedEmployee', id)
|
||||
},
|
||||
|
||||
splitDays() {
|
||||
|
||||
Reference in new issue
Block a user