diff --git a/src/common-components/button-question/button-question.vue b/src/common-components/button-question/button-question.vue index 97ebf1310..e1fee1e40 100644 --- a/src/common-components/button-question/button-question.vue +++ b/src/common-components/button-question/button-question.vue @@ -17,7 +17,7 @@ data-test="button" :groupName="groupName" textPosition="text-start" - isRequired=true + :isRequired="true" :value="modelValue" screenReaderOnlyText="(opens new window)" /> @@ -46,3 +46,15 @@ export default { }, }; + + \ No newline at end of file diff --git a/src/common-components/vehicle-banner/vehicle-banner.vue b/src/common-components/vehicle-banner/vehicle-banner.vue index 51e8d8aa3..32caa82f8 100644 --- a/src/common-components/vehicle-banner/vehicle-banner.vue +++ b/src/common-components/vehicle-banner/vehicle-banner.vue @@ -1,5 +1,5 @@ + + diff --git a/src/layouts/vehicle-year/vehicle-year.vue b/src/layouts/vehicle-year/vehicle-year.vue index 8dc9b72d9..f7332589a 100644 --- a/src/layouts/vehicle-year/vehicle-year.vue +++ b/src/layouts/vehicle-year/vehicle-year.vue @@ -67,7 +67,7 @@ export default { watch: { selectedYear(year) { this.$store.commit(this.storeMutations.UPDATE_YEAR, year); - this.$router.navigate(navigationScenarios.SELECTED_YEAR, this.$route); + this.$router.navigate(this.navigationScenarios.SELECTED_YEAR, this.$route); } }, @@ -79,15 +79,3 @@ export default { }, }; - - diff --git a/src/mixins/base-mixin.js b/src/mixins/base-mixin.js index afe618125..14da7a16b 100644 --- a/src/mixins/base-mixin.js +++ b/src/mixins/base-mixin.js @@ -1,5 +1,6 @@ import { storeActions } from "@/constants/store-actions.js"; import { storeMutations } from "@/constants/store-mutations.js"; +import { navigationScenarios } from "@/router/router-constants/navigation-scenarios"; import { widgetNames } from "@/constants/widget-names.js"; export default { @@ -31,6 +32,9 @@ export default { storeMutations() { return storeMutations; }, + navigationScenarios() { + return navigationScenarios; + }, widgetNames() { return widgetNames; }, diff --git a/src/router/router-constants/routing-table.js b/src/router/router-constants/routing-table.js index 826357f63..34f4c5579 100644 --- a/src/router/router-constants/routing-table.js +++ b/src/router/router-constants/routing-table.js @@ -39,4 +39,4 @@ const routingTable = [ }, ]; -export { routingTable }; +export { routingTable }; \ No newline at end of file diff --git a/src/store/index.js b/src/store/index.js index 036694868..1bf7243b7 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -65,6 +65,9 @@ export default createStore({ state.order.vehicle.year = year; }, }, + getters: { + vehicle: state => state.order.vehicle + }, actions: { // Vehicle API Actions getVehicleYears(context) { diff --git a/src/ux-components/list-button/list-button.vue b/src/ux-components/list-button/list-button.vue index a8ad64d8c..0e5424151 100644 --- a/src/ux-components/list-button/list-button.vue +++ b/src/ux-components/list-button/list-button.vue @@ -28,7 +28,7 @@ export default { props: { isCheckbox: Boolean, groupName: String, /* Required, unique for each button GROUP */ - buttonID: String, /* Required, unique for each button. Used for button id, label and