Skip to content

Commit b8940db

Browse files
committed
Revert "bug-fix #16074 - Fix setting the default theme in the middle of the"
This reverts commit 1becee9.
1 parent 1becee9 commit b8940db

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public function collect(ProductInterface $product, ProductRenderInterface $produ
136136
public function emulateImageCreating(ProductInterface $product, $imageCode, $storeId, ImageInterface $image)
137137
{
138138
$this->storeManager->setCurrentStore($storeId);
139+
$this->design->setDefaultDesignTheme();
139140

140141
$imageHelper = $this->imageFactory->create();
141142
$imageHelper->init($product, $imageCode);

0 commit comments

Comments
 (0)