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

fix: section type Link does not render in "CartellaModulistica" #286

Merged
merged 3 commits into from
Aug 17, 2023

Conversation

Wagner3UB
Copy link

@Wagner3UB Wagner3UB commented Aug 17, 2023

section type Link does not render

@Wagner3UB Wagner3UB self-assigned this Aug 17, 2023
@mamico mamico changed the title fix: new condition create for type Link fix: section type Link does not render in "CartellaModulistica" Aug 17, 2023
@mamico mamico merged commit dba438c into v2 Aug 17, 2023
2 checks passed
@mamico mamico deleted the cartellaModulistica-section branch August 17, 2023 15:26
key={section['@id']}
items={section.items.filter(filterItemsFN)}
/>
<DocRow doc={section} />

Choose a reason for hiding this comment

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

perchè hai tolto la prop 'items'?
togliendola non si vedono i moduli figli di un contenuto di tipo Documento

Copy link

Choose a reason for hiding this comment

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

document va nel ramo sopra dell'if, non lì

section['@type'] === 'Document' ? ...

eventualmente ora gli oggetti non document che hanno subitems non mostranno i subitem ma solo l'oggetto, ma è un caso che non era gestito neanche prima, e mi sembra di capire neanche previsto.

Choose a reason for hiding this comment

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

no.. vanno mostrati, gli oggetti non Document che hanno subitem possono essere oggetti di tipo Documento di cui si devono poter vedere i moduli

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

Successfully merging this pull request may close these issues.

3 participants