Skip to content

Commit 87e020f

Browse files
committed
fix: speaker with contact and participation
1 parent d2f3eb6 commit 87e020f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/components/BulkEmailDialogTrigger.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ import {
450450
import { humanReadableParticipationStatus } from "@/dto/index";
451451
import type { ParticipationStatus } from "@/dto/index";
452452
import type { CompanyWithParticipation } from "@/dto/companies";
453-
import type { SpeakerWithParticipation } from "@/dto/speakers";
453+
import type { SpeakerWithContactAndParticipation } from "@/dto/speakers";
454454
import {
455455
useBulkCompanyEmails,
456456
useBulkSpeakerEmails,
@@ -462,7 +462,7 @@ interface Props {
462462
size?: "sm" | "default" | "lg" | "icon";
463463
buttonClass?: string;
464464
companies?: CompanyWithParticipation[];
465-
speakers?: SpeakerWithParticipation[];
465+
speakers?: SpeakerWithContactAndParticipation[];
466466
entityType: "companies" | "speakers";
467467
}
468468
@@ -499,7 +499,7 @@ const speakerBulk = useBulkSpeakerEmails();
499499
const processBulkEmails = async (
500500
templateCategory: EmailTemplateCategory,
501501
statuses: ParticipationStatus[],
502-
entities: CompanyWithParticipation[] | SpeakerWithParticipation[],
502+
entities: CompanyWithParticipation[] | SpeakerWithContactAndParticipation[],
503503
) => {
504504
if (props.entityType === "companies") {
505505
return companyBulk.processBulkEmails(
@@ -511,7 +511,7 @@ const processBulkEmails = async (
511511
return speakerBulk.processBulkEmails(
512512
templateCategory,
513513
statuses,
514-
entities as SpeakerWithParticipation[],
514+
entities as SpeakerWithContactAndParticipation[],
515515
);
516516
};
517517

0 commit comments

Comments
 (0)