From 0ac2cb9eac48954db325a21884fd29b2e22e1836 Mon Sep 17 00:00:00 2001 From: Kulbhushan Kaushik Date: Wed, 26 Oct 2022 09:19:39 -0400 Subject: [PATCH] commit --- src/layouts/vehicle-year/vehicle-year.vue | 144 +++++++++--------- .../year-question/year-question.vue | 3 +- 2 files changed, 70 insertions(+), 77 deletions(-) diff --git a/src/layouts/vehicle-year/vehicle-year.vue b/src/layouts/vehicle-year/vehicle-year.vue index b19526e9..b3253139 100644 --- a/src/layouts/vehicle-year/vehicle-year.vue +++ b/src/layouts/vehicle-year/vehicle-year.vue @@ -1,82 +1,74 @@ - - \ No newline at end of file + ]; + + let resultMap = await settleAllPromises(promiseResultMap); + + // Call the "next" function to complete the transition to this page. + next((vm) => { + vm.setCmsContent(resultMap.cmsContent); + vm.$refs.yearQuestion.initializeComponent( + resultMap.yearQuestionInitialData + ); + }); + }, + + components: { + yearQuestion, + siteHeader, + siteSubHeader, + }, + }; + + \ No newline at end of file diff --git a/src/layouts/vehicle-year/year-question/year-question.vue b/src/layouts/vehicle-year/year-question/year-question.vue index c7f1539a..0cd35425 100644 --- a/src/layouts/vehicle-year/year-question/year-question.vue +++ b/src/layouts/vehicle-year/year-question/year-question.vue @@ -14,6 +14,7 @@