From cc2e00b88d1af1789745ac8b836c768182f12db3 Mon Sep 17 00:00:00 2001 From: FrankRua Date: Mon, 11 Apr 2022 13:51:52 -0400 Subject: [PATCH 1/3] parsed string for int to make consistent with documentation --- src/layouts/vehicle-damage/vehicle-damage.vue | 2 +- src/layouts/vehicle-year/vehicle-year.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layouts/vehicle-damage/vehicle-damage.vue b/src/layouts/vehicle-damage/vehicle-damage.vue index f9207e710..e5fd04523 100644 --- a/src/layouts/vehicle-damage/vehicle-damage.vue +++ b/src/layouts/vehicle-damage/vehicle-damage.vue @@ -278,7 +278,7 @@ export default { navigateForward(partsData){ // CSR-98 TEMP - const vehicleYearsToShowHeritageFunnel = [ "2001", "2002", "2010" ]; + const vehicleYearsToShowHeritageFunnel = [ 2001, 2002, 2010 ]; if (vehicleYearsToShowHeritageFunnel.includes(store.getters.vehicle.year)) { navigateToHeritageFunnel(); return; diff --git a/src/layouts/vehicle-year/vehicle-year.vue b/src/layouts/vehicle-year/vehicle-year.vue index 9e3dd7e2f..305cef7fc 100644 --- a/src/layouts/vehicle-year/vehicle-year.vue +++ b/src/layouts/vehicle-year/vehicle-year.vue @@ -64,8 +64,8 @@ export default { watch: { selectedYear(year) { - - this.$store.commit(this.storeMutations.UPDATE_YEAR, year); + const parsedYear = parseInt(year); + this.$store.commit(this.storeMutations.UPDATE_YEAR, parsedYear); this.$router.navigateAfterSave( this.navigationScenarios.SELECTED_YEAR, this.$route From c2e39d8b1be6f32dcadf87b8123a08fa0d2de85b Mon Sep 17 00:00:00 2001 From: CarlNation Date: Mon, 11 Apr 2022 14:48:21 -0400 Subject: [PATCH 2/3] CSR-482 defect the cms returns styling html embedded for the content and it is displaying the html in the alert box --- src/ux-components/alert/alert.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ux-components/alert/alert.vue b/src/ux-components/alert/alert.vue index 515658e16..e8f8848a7 100644 --- a/src/ux-components/alert/alert.vue +++ b/src/ux-components/alert/alert.vue @@ -5,7 +5,7 @@ :class="[isDismissible ? 'alert-dismissible' : '', this.alertClass]" >

{{ alertHeadline }}

-

{{ alertCopy }}

+