From 7331b4fd34ba0da6f51a84a0f091b5ef069f4351 Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Tue, 17 Oct 2023 16:01:02 -0400 Subject: [PATCH] linting fixes --- .../policy-endorsements/policy-endorsements.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/layouts/policy-endorsements/policy-endorsements.vue b/src/layouts/policy-endorsements/policy-endorsements.vue index 1d4e1972..b3f88ffa 100644 --- a/src/layouts/policy-endorsements/policy-endorsements.vue +++ b/src/layouts/policy-endorsements/policy-endorsements.vue @@ -134,23 +134,21 @@ export default { async forwardButtonAction() { // TO DO: remove hard coding and update data format once service returns endorsement questions if (this.educatorEndorsement) { - this.questionAnswersArray.push( - { + this.questionAnswersArray.push({ questionNum: 1, endorsement: 'Educator', questionText: this.schoolPropertyQuestionText, selectedAnswer: this.schoolPropertyAnswer }); - }; + } if (this.parkingGuardEndorsement) { - this.questionAnswersArray.push( - { + this.questionAnswersArray.push({ questionNum: 2, endorsement: 'Parking Guard', questionText: this.parkingLotQuestionText, selectedAnswer: this.parkingLotAnswer }); - }; + } // save answers to store as order.policy.endorsementQuestionAnswers useMainStore().saveEndorsementQuestionAnswers(this.questionAnswersArray);