Commit 47f4f00e by Muhammad Usman

work prefences, work history bug fixes

parent 9125f7f1
......@@ -75,7 +75,7 @@ export class DiversityProfileComponent extends BaseComponent implements OnInit {
.pipe(takeUntil(this.componentInView))
.subscribe(() => {
this.isSaving = false;
this.toasterService.success('Preferences updated!');
this.toasterService.success('Diversity profile updated!');
this.router.navigate(['/my-career-web/dashboard/home']);
}, err => {
this.isSaving = false;
......
......@@ -9,6 +9,7 @@ import { NgForm } from '@angular/forms';
import { ConfirmationService } from 'primeng/api';
import { Router } from '@angular/router';
import { HelperService } from '../../../services/helper.service';
import { ToasterService } from '../../../services/toaster.service';
@Component({
selector: 'app-work-history',
......@@ -29,6 +30,7 @@ export class WorkHistoryComponent extends BaseComponent implements OnInit {
private confirmationService: ConfirmationService,
private utilsService: UtilsService,
private helperService: HelperService,
private toastService: ToasterService,
private router: Router
) {
super();
......@@ -102,6 +104,7 @@ export class WorkHistoryComponent extends BaseComponent implements OnInit {
.subscribe(res => {
this.isSaving = false;
if (customRoute) {
this.toastService.success('Work history updated');
this.router.navigate([customRoute])
} else {
this.workSaved.emit();
......
......@@ -139,7 +139,7 @@
<div class="feature-action">Get this feature</div>
</div>
<div class="feature">
<div class="feature-heading">Development Reports</div>
<div class="feature-heading" style="white-space: nowrap;">Development Reports</div>
<div class="feature-content">Information about feature that gives user context as to why to upgrade.</div>
<div class="feature-action">Get this feature</div>
</div>
......
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