linting fixes

This commit is contained in:
Katie Kroell 2023-10-17 16:01:02 -04:00
parent 2f42dc1e78
commit 7331b4fd34

View file

@ -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);