@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.
- package/bundles/smartsoft001-angular.umd.js +2 -2
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/components/detail/address/address.component.js +3 -3
- package/fesm2015/smartsoft001-angular.js +2 -2
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/components/components.module.d.ts +2 -2
- package/package.json +5 -5
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -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
|
|
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
|
];
|