WIP EmployeesList подтягивается из Schedules
This commit is contained in:
@@ -45,7 +45,7 @@ export default {
|
||||
CalendarSidebarTeammate,
|
||||
},
|
||||
props: {
|
||||
teamData: Array,
|
||||
schedulesData: Array,
|
||||
openFormCreate: Function,
|
||||
eventStatuses: Array,
|
||||
url: String,
|
||||
@@ -74,6 +74,10 @@ export default {
|
||||
width: this.widthSidebarClose,
|
||||
};
|
||||
},
|
||||
teamData() {
|
||||
if (this.schedulesData.length === 0) return [];
|
||||
return this.schedulesData.map((elem) => elem.employee);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
changeSize() {
|
||||
|
||||
Reference in New Issue
Block a user