diff --git a/src/layouts/vehicle-year/vehicle-year.vue b/src/layouts/vehicle-year/vehicle-year.vue index ca96b6271..741bc56ab 100644 --- a/src/layouts/vehicle-year/vehicle-year.vue +++ b/src/layouts/vehicle-year/vehicle-year.vue @@ -1,8 +1,8 @@ @@ -20,15 +20,18 @@ export default { }; }, computed: {}, - async mounted() { + created() { + let self = this; + + this.GetContentFromCms().then(response => { + self.headerTextWidgets = response.HeaderTextWidget; + self.radioQuestionWidgets = response.RadioQuestionWidget; + }); - const content = await this.GetContentFromCms(); - this.headerTextWidgets = content.HeaderTextWidget; - console.log(content); }, components: { - // yearQuestion, - // Header, + yearQuestion, + Header, }, }; diff --git a/src/layouts/vehicle-year/year-question/year-question.vue b/src/layouts/vehicle-year/year-question/year-question.vue index 3cbcd9696..2d9b08b1c 100644 --- a/src/layouts/vehicle-year/year-question/year-question.vue +++ b/src/layouts/vehicle-year/year-question/year-question.vue @@ -4,8 +4,6 @@