Skip to content

Commit

Permalink
EMBCESSMOD-4682: Added additiona logging - to be reverted as well
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKayfish committed Oct 26, 2023
1 parent e8b9c63 commit 5906a7d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class EssfileDashboardComponent implements OnInit {
) {}

async ngOnInit(): Promise<void> {
console.log('essfile-dashboard component onInit');
if (
this.optionInjectionService.instance.optionType ===
SelectedPathType.remoteExtensions ||
Expand All @@ -64,6 +65,7 @@ export class EssfileDashboardComponent implements OnInit {
});
});
} else {
console.log('essfile-dashboard component onInit-getEssFile');
this.getEssFile();
}

Expand Down Expand Up @@ -144,8 +146,10 @@ export class EssfileDashboardComponent implements OnInit {
this.displayBanner =
this.optionInjectionService.instance.getDashboardBanner(file?.status);
this.isLoading = !this.isLoading;
console.log('essfile-dashboard component getEssFile = file loaded');
})
.catch((error) => {
console.log('essfile-dashboard component getEssFile - error');
this.isLoading = !this.isLoading;
this.alertService.clearAlert();
this.alertService.setAlert('danger', globalConst.fileDashboardError);
Expand Down

0 comments on commit 5906a7d

Please sign in to comment.