Skip to content
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

Bugfix/116361 change bag api #2570

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

remyvdwereld
Copy link
Collaborator

No description provided.

@remyvdwereld remyvdwereld requested a review from NvdLaan July 9, 2024 14:57
@remyvdwereld remyvdwereld self-assigned this Jul 9, 2024
export const getAddressFromBagPdokResponse = (data?: BAGPdokResponse): BAGPdokAddress | undefined => {
const docs = data?.response?.docs
return (
docs?.find((result) => result.adrestype === "hoofdadres")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zijn checks op hoofdadres nog nodig? In de query naar de api filter je daar ook al op. Ik weet ook niet of ze zaken moeten kunnen aanmaken op een nevenadres?

minWidth: 100,
render: (adres: any, obj: any) => (
`${ adres } ${ obj.type_adres === "Nevenadres" ? "(Nevenadres)" : "" }`
`${ adres } ${ obj.adrestype === "nevenadres" ? "(Nevenadres)" : "" }`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zelfde als andere comment, op dit moment haal je helemaal geen nevenadres op

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants