События запрашиваются по текущему дню календаря

This commit is contained in:
Daria Golova
2022-12-23 12:09:25 +03:00
parent b1237fbed4
commit 48860c454f
3 changed files with 13 additions and 10 deletions

View File

@@ -207,12 +207,12 @@ export default {
startDate() {
return this.selectedEventData.start
? moment.parseZone(this.selectedEventData.start)
: moment();
: this.currentDate;
},
endDate() {
return this.selectedEventData.end
? moment.parseZone(this.selectedEventData.end)
: moment();
: this.currentDate;
},
eventEmployee() {
if (this.selectedEventData.employees) {