Skip to content

Commit 6e4e8af

Browse files
committed
fix: external contact fields use latest publisher LINK-2384
1 parent e85b9aa commit 6e4e8af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/domain/event/eventForm/EventForm.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,8 @@ const EventForm: React.FC<EventFormProps> = ({
572572
</Section>
573573
{(isExternalUser ||
574574
(isAdminUser &&
575-
event?.publisher === EXTERNAL_PUBLISHER_ID)) && (
575+
getValue(event?.publisher, values.publisher) ===
576+
EXTERNAL_PUBLISHER_ID)) && (
576577
<Section title={t('event.form.sections.contact')}>
577578
<ExternalUserContact
578579
isEditingAllowed={isEditingAllowed && !isAdminUser}

0 commit comments

Comments
 (0)