This commit is contained in:
1 file changed
+1
-1
@@ -65,7 +65,7 @@ export const DateList = ({ event }: { event: EventFragment }) => {
|
||||
|
||||
let visibleOccurrences = [];
|
||||
if (oneOff || showAllDates || event.occurrences.length <= 4) {
|
||||
visibleOccurrences = event.occurrences.sort((a, b) =>
|
||||
visibleOccurrences = [...event.occurrences].sort((a, b) =>
|
||||
compareDates(a.start, b.start)
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user