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