implement refresh token
This commit is contained in:
@@ -27,7 +27,8 @@ export class AddEditMasterBuildingComponent {
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
this.authService.checkTokenAndRedirect();
|
||||
this.authService.startTokenCheck();
|
||||
this.authService.startTrackingActivity();
|
||||
this.createForm();
|
||||
this.listDataStatus();
|
||||
if (this.mode === "add") {
|
||||
|
||||
@@ -30,7 +30,8 @@ export class MasterBuildingComponent {
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
this.authService.checkTokenAndRedirect();
|
||||
this.authService.startTokenCheck();
|
||||
this.authService.startTrackingActivity();
|
||||
this.breadcrumb = {
|
||||
mainlabel: "Master Building",
|
||||
links: [
|
||||
|
||||
Reference in New Issue
Block a user