@smartsoft001/angular 1.1.715 → 1.1.722

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.
@@ -5878,7 +5878,7 @@
5878
5878
  }
5879
5879
  DetailAddressComponent.prototype.afterSetOptionsHandler = function () {
5880
5880
  var _this = this;
5881
- this.address$ = this.options.item$.pipe(operators.map(function (item) { return (_this.options ? item[_this.options.key] : null); }));
5881
+ this.address$ = this.options.item$.pipe(operators.map(function (item) { return (_this.options && item ? item[_this.options.key] : null); }));
5882
5882
  };
5883
5883
  return DetailAddressComponent;
5884
5884
  }(DetailBaseComponent));
@@ -5886,7 +5886,7 @@
5886
5886
  DetailAddressComponent.decorators = [
5887
5887
  { type: i0.Component, args: [{
5888
5888
  selector: "smart-detail-address",
5889
- template: "<p *ngIf=\"address$ | async; let address\">\n {{ address.street }}\n {{ address.flatNumber ? address.buildingNumber + \"/\" + address.flatNumber : address.buildingNumber }}\n <br/>{{ address.zipCode }} {{ address.city }}\n</p>\n",
5889
+ template: "<p *ngIf=\"address$ | async; let address\">\n {{ address?.street }}\n {{ address?.flatNumber ? address?.buildingNumber + \"/\" + address?.flatNumber : address?.buildingNumber }}\n <br/>{{ address?.zipCode }} {{ address?.city }}\n</p>\n",
5890
5890
  styles: [""]
5891
5891
  },] }
5892
5892
  ];