From 7c6e4c3eeef2e53ec9322279890a48cc60b307dd Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Thu, 30 Nov 2023 11:12:34 -0500 Subject: [PATCH 1/3] only route to endorsements page if Educator/Parking Guard endorsement --- src/layouts/policy-vehicles/policy-vehicles.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layouts/policy-vehicles/policy-vehicles.vue b/src/layouts/policy-vehicles/policy-vehicles.vue index fb5da45a..c2a0741b 100644 --- a/src/layouts/policy-vehicles/policy-vehicles.vue +++ b/src/layouts/policy-vehicles/policy-vehicles.vue @@ -231,7 +231,9 @@ export default { {}, {} ); - } else if (this.endorsementsForSelectedVehicle?.length > 0) { + } else if (this.endorsementsForSelectedVehicle?.length > 0 + && (this.endorsementsForSelectedVehicle?.includes(endorsementOptions.PARKING_GUARD) + || this.endorsementsForSelectedVehicle?.includes(endorsementOptions.EDUCATOR))) { this.$router.navigate( this.navigationScenarios.CLICKED_FORWARD_WITH_ENDORSEMENTS, this.$route From 56ae1c3d262f87147e26e05ffe9ddce632e71b77 Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Thu, 30 Nov 2023 11:12:45 -0500 Subject: [PATCH 2/3] styling fix --- src/layouts/policy-endorsements/policy-endorsements.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/policy-endorsements/policy-endorsements.vue b/src/layouts/policy-endorsements/policy-endorsements.vue index e5d637fb..5fee1ad3 100644 --- a/src/layouts/policy-endorsements/policy-endorsements.vue +++ b/src/layouts/policy-endorsements/policy-endorsements.vue @@ -183,7 +183,7 @@ export default {