-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
feat(product): build variant images when retrieving product #13731
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
base: feat/scoped-variant-images
Are you sure you want to change the base?
feat(product): build variant images when retrieving product #13731
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 8 Skipped Deployments
|
packages/modules/product/src/services/product-module-service.ts
Outdated
Show resolved
Hide resolved
|
||
for (const image of variantImages) { | ||
if (variantImageIds.includes(image.id)) { | ||
variant.images.push(image) |
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.
self-review: should we return just an array of ids
…ages--product-fetch
…ages--product-fetch
…ages--product-fetch
What