-
Notifications
You must be signed in to change notification settings - Fork 16
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: Resolve App details image duplications #290
fix: Resolve App details image duplications #290
Conversation
Hi @oyo @lavanya-bmw, can you review this when you can? It's really a terrible user experience for the marketplace. Thanks! |
const getIsInfinite = () => { | ||
if (mobile) return gallery?.length > 1 | ||
else if (tab) return gallery?.length > 2 | ||
else return gallery?.length > 3 |
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.
please remove else
in both lines above because it's not needed when return in the if clause is guaranteed
CHANGELOG.md
Outdated
@@ -12,6 +12,7 @@ | |||
- **chor:** run pretty explicitly ([702a9dc](https://github.com/eclipse-tractusx/portal-shared-components/commit/702a9dc7ca0ef003593ec5ad0ddf8459d92320f2)) | |||
- **chor:** update deoendency file ([bb45f76](https://github.com/eclipse-tractusx/portal-shared-components/commit/bb45f761102e442fd727b10f5a1d0362a0f124cf)) | |||
- **chro:** update the package version ([506dc70](https://github.com/eclipse-tractusx/portal-shared-components/commit/506dc709a28e19cbfc2dd6ea38f3af60ed3ef74c)) | |||
- **ImageGallery:** Resolve duplicates image issue ([#288](https://github.com/eclipse-tractusx/portal-shared-components/issues/288)) |
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.
remove entry because release-please will generate one based on your commit messages
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.
@oyo so we don't need to update the change log in shared components, only in the other repos. Do you confirm? Just to pass the knowledge to other FE devs.
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.
@evegufy fyi
Quality Gate passedIssues Measures |
Hi @oyo, Thank you! 😊 |
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.
lftm
Description
Why
Issue
Checklist