feat(platform): show active mileage filters
This commit is contained in:
@@ -215,7 +215,8 @@ export default function App() {
|
||||
setAnalysisVin(nextFilters.keyword);
|
||||
}
|
||||
setActiveProtocol(nextFilters.protocol ?? '');
|
||||
replaceMileageHash(nextFilters);
|
||||
const { keyword, protocol, ...restFilters } = nextFilters;
|
||||
replaceHash('mileage', keyword ?? analysisVin, protocol, restFilters);
|
||||
};
|
||||
|
||||
const replaceMileageHash = (filters: Record<string, string> = {}) => {
|
||||
|
||||
Reference in New Issue
Block a user