mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-03-02 01:39:21 +00:00
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…
x
Reference in New Issue
Block a user