linting fixes
This commit is contained in:
parent
2f42dc1e78
commit
7331b4fd34
1 changed files with 4 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue