This commit is contained in:
Peter Maquiran
2023-08-24 22:19:40 +01:00
parent 7302918ed8
commit f3f84ed475
7 changed files with 79 additions and 59 deletions
+2 -6
View File
@@ -72,8 +72,6 @@ export class ListBoxService {
endTime: event.end
})
const day = this.dateService.getDay(event.start)
event['manyDays'] = !this.dateService.isSameDate(event.start, event.end)
@@ -89,11 +87,10 @@ export class ListBoxService {
if (this.dateService.notSameDate(startDate, endDate)) {
if (diffDays <= 150 && !event.event.IsAllDayEvent ) {
if (diffDays <= 150 ) {
if (diffDays >= 1) {
const StartEvent = this.transForm(event, {startMany: true, endMany: false, middle: false})
if(this.CanPush(event, selectedDate)) days[day].push(StartEvent)
@@ -138,7 +135,6 @@ export class ListBoxService {
if(this.CanPush(event, selectedDate)) days[day].push(event)
}
} else {
if(this.CanPush(event, selectedDate)) days[day].push(event)
}
} else {