fix pictures 2
This commit is contained in:
@@ -78,7 +78,7 @@ class ProductController extends SuperController
|
||||
]);
|
||||
|
||||
if ($product->relationLoaded('file') && $product->file) {
|
||||
$product->file->setAttribute('full_src', File::publicUrl($product->file->getAttributes()['src'] ?? null));
|
||||
$product->file->setAttribute('full_src', $product->file->src);
|
||||
}
|
||||
|
||||
if ($representativeId !== null && (int) $product->id === $representativeId) {
|
||||
|
||||
Reference in New Issue
Block a user