Skip to content

Commit

Permalink
check property before read
Browse files Browse the repository at this point in the history
  • Loading branch information
HalcyonJAC committed Dec 9, 2022
1 parent 57215b1 commit bd345b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ export default {
},
amountOfTimeOnQuestion(index) {
let millisecs = 0;
if (this.response.history) {
if (this.response.questionSession) {
Object.keys(this.response.questionSession).map(key => {
const item = this.response.questionSession[key];
if (item.question === index) {
Expand Down

0 comments on commit bd345b5

Please sign in to comment.