-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support for grouppasses #49
base: main
Are you sure you want to change the base?
Conversation
refs: #UPS-5301
Refs: #UPS-5301
Refs: #UPS-5301
Refs: #UPS-5301
…ith theme colors Refs: #UPS-5301
bfda09b
to
c909de9
Compare
) { | ||
setIsGroupPass(true); | ||
} | ||
}, [passHoldersData]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Afgeleide van data bijhouden in local state is een anti-pattern in React, het is beter gewoon een lokale variabele te voorzien
const isGroupPass = passHoldersData?.data.member && passHoldersData.data.member.length === 0
@@ -120,14 +136,19 @@ export const OpportunityState = ({ passholder }: OpportunityStateDateProps) => { | |||
if (cardSystem) { | |||
if (cardSystem.socialTariff) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In 1 if
steken?
if (cardSystem?.socialTariff) {
Nu was ik op zoek naar een else
, maar is er niet
Added
StepperField
component, which is used to select a number within a specific range:Changed
Removed
Fixed
Ticket: #UPS-5301