Skip to content

Commit 2c4d945

Browse files
committed
ecer-5203 fix for renewed certificates triggering pdf generation.
1 parent ece1d6a commit 2c4d945

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default defineComponent({
151151
return this.certification.certificatePDFGeneration === "Yes";
152152
},
153153
isCertificateActive(): boolean {
154-
return this.certification.statusCode === "Active" || this.certification.statusCode === "Renewed";
154+
return this.certification.statusCode === "Active";
155155
},
156156
},
157157
async mounted() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ export default defineComponent({
2020
let text;
2121
switch (this.certification.statusCode) {
2222
case "Active":
23-
case "Renewed":
2423
case "Reprinted":
2524
text = "Active";
2625
break;
2726
case "Expired":
2827
case "Inactive":
28+
case "Renewed":
2929
text = "Expired";
3030
break;
3131
case "Cancelled":

0 commit comments

Comments
 (0)