fix to navigation from molding-questions

This commit is contained in:
Kroell 2023-02-09 15:02:47 -05:00
parent 4f31b1c8f0
commit 3686e4907d

View file

@ -31,6 +31,7 @@ import { errorMessages } from "@/constants/error-messages";
import vehicleQuestionsMixin from "@/mixins/vehicle-questions-mixin";
import { useMainStore } from "@/store";
import { issPageValues } from "@/router/router-constants/issPage-values";
import BaseFormMixin from '@/mixins/base-form-mixin.js';
// Import Component
import { Form } from "vee-validate";
@ -41,7 +42,7 @@ defineRule("questions-required", required(errorMessages.OPTION_REQUIRED));
export default {
name: "molding-questions",
mixins: [vehicleQuestionsMixin],
mixins: [BaseFormMixin, vehicleQuestionsMixin],
async beforeRouteEnter(to, from, next) {
const cmsContentPromise = fetchCmsContentForPage(to.query.issPage);
@ -163,6 +164,7 @@ export default {
},
];
}
this.navigateForward(partsOrQuestions, null);
},
},