Skip to content

Commit 2cc482d

Browse files
ENGCOM-6030: Rest API, endpoint products-render-info and image generation #24810
- Merge Pull Request #24810 from okolya/magento2:2.3-develop - Merged commits: 1. ad5682c 2. 16d0bd8 3. 66798b6
2 parents 4321600 + 66798b6 commit 2cc482d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public function collect(ProductInterface $product, ProductRenderInterface $produ
107107
$images = [];
108108
/** @var ThemeInterface $currentTheme */
109109
$currentTheme = $this->design->getDesignTheme();
110+
$this->design->setDesignTheme($currentTheme);
110111

111112
foreach ($this->imageCodes as $imageCode) {
112113
/** @var ImageInterface $image */
@@ -135,7 +136,6 @@ public function collect(ProductInterface $product, ProductRenderInterface $produ
135136
$images[] = $image;
136137
}
137138

138-
$this->design->setDesignTheme($currentTheme);
139139
$productRender->setImages($images);
140140
}
141141

0 commit comments

Comments
 (0)