Skip to content

Commit 0fdba56

Browse files
committed
fix for undefined date errors when empty string is passed to backend
1 parent 633ea74 commit 0fdba56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/inputs/EceInternationalCertification.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ export default defineComponent({
377377
onlineCertificateValidationToolOfRegulatoryAuthority: "",
378378
certificateStatus: "Expired",
379379
certificateTitle: "",
380-
issueDate: "",
381-
expiryDate: "",
380+
issueDate: undefined,
381+
expiryDate: undefined,
382382
files: [],
383383
newFiles: [],
384384
deletedFiles: [],
@@ -627,8 +627,8 @@ export default defineComponent({
627627
this.onlineCertificateValidationToolOfRegulatoryAuthority = "";
628628
this.certificateStatus = undefined;
629629
this.certificateTitle = "";
630-
this.issueDate = "";
631-
this.expiryDate = "";
630+
this.issueDate = undefined;
631+
this.expiryDate = undefined;
632632
this.files = [];
633633
this.newFiles = [];
634634
this.deletedFiles = [];

0 commit comments

Comments
 (0)