updated default max value in case of filter not applied

This commit is contained in:
sanjeev 2022-07-19 16:50:58 +05:30
parent 02a10298d7
commit 92990047a9
1 changed files with 4 additions and 3 deletions

View File

@ -220,9 +220,10 @@
this.sliderConfig.max = maxPrice ? ((parseInt(maxPrice) !== 0 || maxPrice) ? parseInt(maxPrice) : 500) : 500;
this.sliderConfig.value = [0, this.sliderConfig.max];
this.sliderConfig.priceTo = this.sliderConfig.max;
if (! this.appliedFilterValues) {
this.sliderConfig.value = [0, this.sliderConfig.max];
this.sliderConfig.priceTo = this.sliderConfig.max;
}
});
},