Skip to content

Commit 9e59b78

Browse files
committed
ecer-5262 post-basic bug. should not be pre-checked for new/registrant applications. Renew option should clone the correct certificate types over
1 parent 355714c commit 9e59b78

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</template>
1818

1919
<!-- Labor Mobility -->
20-
<template v-if="applicationStore.isDraftApplicationLaborMobility">
20+
<template v-else-if="applicationStore.isDraftApplicationLaborMobility">
2121
<ECEAssistantLaborMobilityRequirements v-if="applicationStore.isDraftCertificateTypeEceAssistant" />
2222
<ECEOneYearLaborMobilityRequirements v-if="applicationStore.isDraftCertificateTypeOneYear" />
2323
<ECEFiveYearLaborMobilityRequirements
@@ -146,6 +146,9 @@ export default defineComponent({
146146
});
147147
}
148148
this.router.push({ name: "declaration" });
149+
} else if (this.applicationStore.isDraftApplicationRenewal) {
150+
//for renewal applications we do not need to perform any additional checks. The certification types should be correctly set in the draft application store.
151+
this.router.push({ name: "declaration" });
149152
} else {
150153
let currentTypes = this.applicationStore.draftApplication.certificationTypes || [];
151154

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
</v-row>
5252
<v-row>
5353
<v-col cols="12">
54-
<SpecializedCertificationOptions ref="SpecializedCertificationOptions" :pre-selected="['Ite', 'Sne']" />
54+
<SpecializedCertificationOptions ref="SpecializedCertificationOptions" />
5555
</v-col>
5656
</v-row>
5757
</template>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</v-row>
8383
<v-row>
8484
<v-col cols="12">
85-
<SpecializedCertificationOptions :pre-selected="['Ite', 'Sne']" />
85+
<SpecializedCertificationOptions />
8686
</v-col>
8787
</v-row>
8888
</template>

0 commit comments

Comments
 (0)