78991: Set fallback max date to the current year

This commit is contained in:
Yura Bondarenko
2021-04-26 10:53:37 +02:00
parent eb9a7a15d6
commit 4fa6a3e976

View File

@@ -56,7 +56,7 @@ export class SearchRangeFilterComponent extends SearchFacetFilterComponent imple
/**
* Fallback maximum for the range
*/
max = 2018;
max = new Date().getFullYear();
/**
* The current range of the filter