@maplander/components 0.21.49 → 0.21.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7577,12 +7577,16 @@
7577
7577
  * @return {?}
7578
7578
  */
7579
7579
  function (config) {
7580
+ /** @type {?} */
7581
+ var colony = config.address.colony.replace(/[\])}[{(]/g, '');
7582
+ /** @type {?} */
7583
+ var city = config.address.city.replace(/[\])}[{(]/g, '');
7580
7584
  /** @type {?} */
7581
7585
  var url = 'property/';
7582
7586
  url += this._propertyTypePipe.transform(config.propertyType, true) + "-";
7583
7587
  url += this._offeringTypePipe.transform(config.offering, ' ').replace(/ /g, '') + "-";
7584
- url += config.address.colony ? Utils.removeDiacritics(config.address.colony) + "-" : '';
7585
- url += config.address.city ? Utils.removeDiacritics(config.address.city) + "-" : '';
7588
+ url += config.address.colony ? config.address.colony.replace(/\//g, '-') + "-" : '';
7589
+ url += config.address.city ? config.address.city.replace(/\//g, '-') + "-" : '';
7586
7590
  url += config.propertyId;
7587
7591
  url = Utils.removeDiacritics(url).replace(/ /g, '-').toLowerCase();
7588
7592
  return url;