тест 3

This commit is contained in:
2026-05-15 13:23:21 +03:00
parent 13b859a9fa
commit 48f752d512

View File

@@ -1231,7 +1231,7 @@ function renderEvents() {
return; return;
} }
const displayEvents = sortEventsForDisplay(matchEvents); const displayEvents = [...matchEvents].reverse();
@@ -1414,7 +1414,7 @@ async function loadEventsFromServer() {
}; };
}); });
matchEvents = sortEventsForStorage(matchEvents); matchEvents = sortEventsForDisplay(matchEvents);
@@ -2531,7 +2531,7 @@ async function editEventTime(eventId) {
event.minute = parsed.label; event.minute = parsed.label;
event.seconds = parsed.seconds; event.seconds = parsed.seconds;
matchEvents = sortEventsForDisplay(matchEvents); // matchEvents = sortEventsForDisplay(matchEvents);
renderEvents(); renderEvents();
rebuildLineupsFromEvents(); rebuildLineupsFromEvents();