Marketing
This commit is contained in:
@@ -54,3 +54,13 @@ export function routeListingWithState(router: Router, value: string, data: any)
|
||||
router.navigate(['createCommercialPropertyListing'], { state: { data } });
|
||||
}
|
||||
}
|
||||
export function resetCriteria(criteria: ListingCriteria) {
|
||||
criteria.type = null;
|
||||
criteria.state = null;
|
||||
criteria.minPrice = null;
|
||||
criteria.maxPrice = null;
|
||||
criteria.start = null;
|
||||
criteria.length = null;
|
||||
criteria.realEstateChecked = null;
|
||||
criteria.title = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user