@hmcts/ccpay-web-component 5.0.2-beta97 → 5.0.2-beta98
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/hmcts-ccpay-web-component.umd.js +2 -1
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/contact-details/contact-details.component.js +3 -2
- package/esm5/lib/components/contact-details/contact-details.component.js +3 -2
- package/fesm2015/hmcts-ccpay-web-component.js +2 -1
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +2 -1
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -3260,6 +3260,7 @@ var ContactDetailsComponent = /** @class */ (function () {
|
|
|
3260
3260
|
*/
|
|
3261
3261
|
function (str) {
|
|
3262
3262
|
var _this = this;
|
|
3263
|
+
this.resetForm([false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], 'all');
|
|
3263
3264
|
/** @type {?} */
|
|
3264
3265
|
var postcodeField = this.postCodeForm.controls.postcode;
|
|
3265
3266
|
if (this.postCodeForm.valid) {
|
|
@@ -3270,7 +3271,7 @@ var ContactDetailsComponent = /** @class */ (function () {
|
|
|
3270
3271
|
*/
|
|
3271
3272
|
function (refundsNotification) {
|
|
3272
3273
|
_this.addressPostcodeList = refundsNotification['data']['results'];
|
|
3273
|
-
_this.isShowPickAddress =
|
|
3274
|
+
_this.isShowPickAddress = refundsNotification['data']['results'].length > 0;
|
|
3274
3275
|
})),
|
|
3275
3276
|
(/**
|
|
3276
3277
|
* @param {?} error
|