Issue #2593 fixed
This commit is contained in:
parent
7b5930f8bc
commit
d9a391f1cc
|
|
@ -161,6 +161,10 @@
|
|||
props: ['index', 'attribute', 'appliedFilterValues'],
|
||||
|
||||
data: function() {
|
||||
let maxPrice = '{{ core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)) }}';
|
||||
|
||||
maxPrice = (parseInt(maxPrice) !== 0) ? parseInt(maxPrice) : 500;
|
||||
|
||||
return {
|
||||
appliedFilters: [],
|
||||
|
||||
|
|
@ -171,7 +175,7 @@
|
|||
0,
|
||||
0
|
||||
],
|
||||
max: {{ core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)) ?? 0 }},
|
||||
max: maxPrice,
|
||||
processStyle: {
|
||||
"backgroundColor": "#FF6472"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@
|
|||
data: function() {
|
||||
let maxPrice = '{{ core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)) }}';
|
||||
|
||||
maxPrice = (maxPrice !== '') ? parseInt(maxPrice) : 0;
|
||||
maxPrice = (parseInt(maxPrice) !== 0) ? parseInt(maxPrice) : 500;
|
||||
|
||||
return {
|
||||
active: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue