CSR-1610: reformatting from prettier

This commit is contained in:
Adam Caouette 2024-01-08 15:29:46 -05:00
parent 3f109d244e
commit e988753707

View file

@ -119,14 +119,13 @@ export default {
return updatedGlass;
});
// if no preanswered questions then make sure index starts with the correct value
if (this.currentGlassIndex === 0) {
this.currentGlassIndex = this.questionsData?.findIndex(
(glass) => glass.questions?.length > 0
);
}
},
async forwardButtonAction() {
const questionAnswersArray = this.questionsData.map((glass) => {