Commit d4e07809 by Muhammad Usman

exit button for career history

parent ccefbe42
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<div class="header-actions"> <div class="header-actions">
<span class="auto-saved">Auto saved 1 min ago</span> <span class="auto-saved">Auto saved 1 min ago</span>
<button pButton label="Save & exit" class="ui-button-info"></button> <button pButton label="Save & exit" (click)="exit()" class="ui-button-info"></button>
</div> </div>
</div> </div>
<p-progressBar [value]="20"></p-progressBar> <p-progressBar [value]="20"></p-progressBar>
......
...@@ -12,6 +12,10 @@ export class CareerHistoryComponent extends BaseComponent implements OnInit { ...@@ -12,6 +12,10 @@ export class CareerHistoryComponent extends BaseComponent implements OnInit {
super(); super();
} }
exit(): void {
this.r.navigate(['/my-career-web/dashboard/home']);
}
ngOnInit() { ngOnInit() {
} }
......
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