Groups
Sign in
Groups
Angular and AngularJS discussion
Conversations
Labels
About
Send feedback
Help
Button stops working after pressing other buttons.
8 views
Skip to first unread message
Phil
unread,
May 17, 2018, 1:20:30 PM
5/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Angular and AngularJS discussion
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
Reply all
Reply to author
Forward
0 new messages