style(FilteredProductResource): fix indentation for nutriscore line
This commit is contained in:
parent
3ac3cbc7ff
commit
0874259eba
2 changed files with 1 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ class FilteredProductResource extends JsonResource
|
|||
'is_available' => $productAvailabilityService->isOrderable($domainProduct),
|
||||
'can_add_to_basket' => Gate::allows('addToBasket', $this->product),
|
||||
'showStrippedPrice' => (bool) $this->product->validDiscount?->is_old_price_displayed,
|
||||
'nutriscore' => $this->product->inco?->nutriscore?->value(),
|
||||
'nutriscore' => $this->product->inco?->nutriscore?->value(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -194,4 +194,3 @@ describe('ProductsController (Ajax)', function () {
|
|||
->and($data[0]['discountedPriceTtc'])->not->toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue