Commit 3f55c5f1 by Muhammad Usman

profile tasks issue, toaster on moible fixed

parent 454d532f
......@@ -73,6 +73,8 @@ export class WorkStyleComponent extends BaseComponent implements OnInit, OnDestr
if (response.NextQuestion) {
this.workStyleQuestion = response.NextQuestion;
this.setAnswerScales();
} else {
this.exit();
}
}, err => {
this.isLoading = false;
......
......@@ -58,6 +58,7 @@ export class ProfileTasksComponent extends BaseComponent {
}
setProfileCompletion(): void {
this.profileTasks.forEach(t => t.active = false);
const currentTask = this.profileTasks.find(t => this.careerProfile[t.key] !== 100);
currentTask.active = true;
// const percentage = (this.careerProfile.CompletedPercentage || 0) * 3.6;
......
......@@ -99,7 +99,7 @@
&-message {
width: 100%;
padding: 10px 8px !important;
padding: 10px 14px 10px 8px !important;
}
&-close-icon {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment