Moved the recurrent event parsing further down in the function, and now the week-view seems to work fine again
This commit is contained in:
parent
76c8cbcd96
commit
894ed03ca0
|
@ -538,9 +538,6 @@ export default class spservices {
|
|||
UID: event.UID.replace("{", "").replace("}", ""),
|
||||
});
|
||||
}
|
||||
|
||||
let parseEvt: parseRecurrentEvent = new parseRecurrentEvent();
|
||||
events = parseEvt.parseEvents(events, null, null);
|
||||
return true;
|
||||
};
|
||||
//Checks to see if there are any results saved in local storage
|
||||
|
@ -563,6 +560,8 @@ export default class spservices {
|
|||
await mapEvents() ? window.localStorage.setItem("calendarEventsWithLocalTime", JSON.stringify(events)) : null;
|
||||
}
|
||||
}
|
||||
let parseEvt: parseRecurrentEvent = new parseRecurrentEvent();
|
||||
events = parseEvt.parseEvents(events, null, null);
|
||||
|
||||
// Return Data
|
||||
return events;
|
||||
|
|
Loading…
Reference in New Issue