On this website http://freecoin.tk/
When a quiz is complete and then you select a new quiz it doesn't load the
new quiz.
I can't tell why. It seems like the only difference when the quiz completes
is this.show=0
else {
this.show = 0;
this
.userService
.updateUser();
}
https://github.com/7--/freecoin-frontend/blob/master/src/app/question/question.component.ts
this.show is a boolean that's used in the html to show either a question or
the quiz complete message.
https://github.com/7--/freecoin-frontend/blob/master/src/app/question/question.component.html
But I change that back when the quiz is selected.
this.qc.show=1;
https://github.com/7--/freecoin-frontend/blob/master/src/app/select-quiz/select-quiz.component.ts
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.