@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.
@@ -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 = true;
3274
+ _this.isShowPickAddress = refundsNotification['data']['results'].length > 0;
3274
3275
  })),
3275
3276
  (/**
3276
3277
  * @param {?} error