feat(frontend): add Run now button and matching runs list on event details page
- New adminAPI for run-now and runs listing - MatchingRunsSection with refresh and run controls - Integrate into EventDetailsPage under matching configuration
This commit is contained in:
@@ -7,6 +7,7 @@ import QRCodeSection from '../components/events/QRCodeSection';
|
||||
import ParticipantsSection from '../components/events/ParticipantsSection';
|
||||
import MatchingConfigSection from '../components/events/MatchingConfigSection';
|
||||
import ScheduleConfigSection from '../components/events/ScheduleConfigSection';
|
||||
import MatchingRunsSection from '../components/events/MatchingRunsSection';
|
||||
|
||||
export default function EventDetailsPage() {
|
||||
const { slug } = useParams();
|
||||
@@ -105,6 +106,11 @@ export default function EventDetailsPage() {
|
||||
<MatchingConfigSection slug={slug} event={event} onRefresh={fetchEventDetails} />
|
||||
</div>
|
||||
|
||||
{/* Matching Runs (admin tools) */}
|
||||
<div className="mt-6">
|
||||
<MatchingRunsSection slug={slug} />
|
||||
</div>
|
||||
|
||||
{/* Schedule Configuration */}
|
||||
<div className="mt-6">
|
||||
<ScheduleConfigSection slug={slug} event={event} onRefresh={fetchEventDetails} />
|
||||
|
||||
Reference in New Issue
Block a user