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

wip: fixing all image checks and ListingImage #861

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

deodorhunter
Copy link

Fix di tutti i check image truthish, in quanto image e' un istanza di un React Element e non puo' essere mai falsish, non rappresenta il possibile ritorno del componente mai.

Da finire di testare per bene, ho iniziato qui https://v3.io-comune.redturtle.it/test-martina/test-fix-img-null-check-bug
PS: Alcune occorrenze simili esistono anche in Volto tipo PreviewImage, se li usiamo e' da scoprire, non ci sono arrivata ancora

@pnicolli pnicolli merged commit 90bd033 into main Feb 6, 2025
3 checks passed
@pnicolli pnicolli deleted the bug_64048_card_con_immagine_senza_immagine branch February 6, 2025 11:41
pnicolli added a commit that referenced this pull request Feb 6, 2025
* wip: fixing all image checks and ListingImage

* fix: removed all code breaking react rules and refactor

* fix: review fixes

---------

Co-authored-by: Piero Nicolli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants