Konflikt lösen Button eigener Event Detailansicht

This commit is contained in:
Simona Oswald 2026-04-21 22:30:36 +02:00
parent eb537e7d52
commit 21d96597cc

View File

@ -379,11 +379,11 @@
|| (!isRegistered && (isFull || isRegistrationClosed)) || (!isRegistered && (isFull || isRegistrationClosed))
|| (isRegistered && deregInfo.isClosed); || (isRegistered && deregInfo.isClosed);
const actionButtonVariantClass = isOwnEvent const actionButtonVariantClass = isOwnEvent
? ' button-primary' ? ' button-primary-eigener-event'
: isRegistered : isRegistered
? ' button-primary-abmelden ' ? ' button-primary-abmelden '
: isRegistrationClosed : isRegistrationClosed
? ' button-primary-abmelden ' ? ' button-primary '
: ' button-primary '; : ' button-primary ';
const shouldRevealAddress = Boolean(event.address) && isAddressVisibleWindow(event) && hasAddressAccess; const shouldRevealAddress = Boolean(event.address) && isAddressVisibleWindow(event) && hasAddressAccess;
const addressPanelMarkup = shouldRevealAddress const addressPanelMarkup = shouldRevealAddress