Skip to content

Commit 6ad5272

Browse files
committed
Always allow for expired ECE Assistant renewals
1 parent 1e8d99b commit 6ad5272

File tree

1 file changed

+1
-5
lines changed
  • src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ export default defineComponent({
6868
canRenew() {
6969
return (
7070
!(this.certificationStore.hasMultipleEceOneYearCertifications && isEceOneYear(this.certification)) &&
71-
!(isEceOneYear(this.certification) && this.expiredOverFiveYears) &&
72-
!(isEceAssistant(this.certification) && this.expiredOverFiveYears)
71+
!(isEceOneYear(this.certification) && this.expiredOverFiveYears)
7372
);
7473
},
7574
title() {
@@ -83,9 +82,6 @@ export default defineComponent({
8382
8483
// Assistant
8584
if (isEceAssistant(this.certification)) {
86-
if (this.expiredOverFiveYears) {
87-
return "You cannot renew your ECE Assistant certification because it's been expired for over 5 years.";
88-
}
8985
return "You can renew your ECE Assistant certification.";
9086
}
9187

0 commit comments

Comments
 (0)