fix: Salesforce - fix option to create contact if account exists (#21288)
* Add `onCheckedChange` * Remove console.logs
This commit is contained in:
1 parent
1bd17ba365
commit
7e699ab810
2 files changed
+8
-3
No files matched your search
@@ -167,7 +167,14 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({
|
||||
icon="user-plus"
|
||||
title={t("salesforce_create_event_on_contact")}
|
||||
labelFor="create-event-on-contact">
|
||||
<Switch size="sm" labelOnLeading checked={createEventOnLeadCheckForContact} />
|
||||
<Switch
|
||||
size="sm"
|
||||
labelOnLeading
|
||||
checked={createEventOnLeadCheckForContact}
|
||||
onCheckedChange={(checked) => {
|
||||
setAppData("createEventOnLeadCheckForContact", checked);
|
||||
}}
|
||||
/>
|
||||
</Section.SubSectionHeader>
|
||||
</Section.SubSection>
|
||||
<CreateContactUnderAccount />
|
||||
|
||||
Reference in new issue
Block a user