@hmcts/ccpay-web-component 6.5.23-beta3 → 6.5.23-beta4

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.
@@ -3799,8 +3799,8 @@ class AddRemissionComponent {
3799
3799
  }
3800
3800
  redirectAfterAddingRemission(event) {
3801
3801
  const value = this.remissionForm.controls.amount.value;
3802
- //if the from is empty or 0 it means full remission.
3803
- if (["0", "", null].includes(value)) {
3802
+ //if the from is empty or 0 it means full remission.\
3803
+ if (value === "" || value === null || Number(value) === 0) {
3804
3804
  this.gotoCasetransationPage();
3805
3805
  }
3806
3806
  else {