merge
This commit is contained in:
parent
4633e16094
commit
248caa7029
|
|
@ -1,9 +1,5 @@
|
|||
import React, { useCallback, useEffect, useState } from "react";
|
||||
<<<<<<< HEAD
|
||||
import { BarChart2, CalendarDays, FileText, Plus, ShieldCheck, Tag, Ticket, Trophy, Upload } from "lucide-react";
|
||||
=======
|
||||
import { BarChart2, CalendarDays, Check, FileText, Globe, Link2, Plus, ShieldCheck, Tag, Ticket, Trophy } from "lucide-react";
|
||||
>>>>>>> aed52029c61eaa3a9376202a3d34d546a6f56b28
|
||||
import { BarChart2, CalendarDays, Check, FileText, Globe, Link2, Plus, ShieldCheck, Tag, Ticket, Trophy, Upload } from "lucide-react";
|
||||
import { useBreakpoint } from "../../hooks/useBreakpoint";
|
||||
import { useAppNav } from "../../contexts/AppNavContext";
|
||||
import { eventsApi } from "../../../services/api/events";
|
||||
|
|
@ -1088,19 +1084,19 @@ export function EventHomeModules() {
|
|||
/>
|
||||
) : null}
|
||||
|
||||
<<<<<<< HEAD
|
||||
{showDocumentsPanel && selectedEventId ? (
|
||||
<EventDocumentsPanel
|
||||
eventId={selectedEventId}
|
||||
eventName={eventName ?? undefined}
|
||||
onClose={() => setShowDocumentsPanel(false)}
|
||||
=======
|
||||
{staticMicrositeOpen && selectedEventId ? (
|
||||
<ManageStaticMicrositePanel
|
||||
eventId={selectedEventId}
|
||||
onClose={() => setStaticMicrositeOpen(false)}
|
||||
onSaved={() => void loadStaticMicrositeMeta()}
|
||||
>>>>>>> aed52029c61eaa3a9376202a3d34d546a6f56b28
|
||||
/>
|
||||
) : null}
|
||||
|
||||
{showDocumentsPanel && selectedEventId ? (
|
||||
<EventDocumentsPanel
|
||||
eventId={selectedEventId}
|
||||
eventName={eventName ?? undefined}
|
||||
onClose={() => setShowDocumentsPanel(false)}
|
||||
/>
|
||||
) : null}
|
||||
</>
|
||||
|
|
|
|||
|
|
@ -29,16 +29,13 @@ function participantEmail(
|
|||
return p.email?.trim() || "—";
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
function participantName(p: FormSubmissionRecord["participant"]): string {
|
||||
if (!p || typeof p === "string") return "there";
|
||||
return [p.firstName, p.lastName].filter(Boolean).join(" ").trim() || "there";
|
||||
=======
|
||||
return [p.firstName, p.lastName].filter(Boolean).join(" ").trim() || "there";}
|
||||
function eventNameFromForm(form: Form | null): string {
|
||||
const ev = form?.event;
|
||||
if (ev && typeof ev === "object" && ev.name?.trim()) return ev.name.trim();
|
||||
return "Event";
|
||||
>>>>>>> aed52029c61eaa3a9376202a3d34d546a6f56b28
|
||||
}
|
||||
|
||||
type Props = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue