Skip to content

Commit

Permalink
Merge pull request #1838 from bcgov/revert-1833-EMBCESSMOD-4682-updates
Browse files Browse the repository at this point in the history
Revert "EMBCESSMOD-4682 - Adding logging to assiting with debugging TEST data…"
  • Loading branch information
KyleKayfish authored Oct 31, 2023
2 parents 13ceb91 + e61ec1a commit a3ed5a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export class ComputeWizardService implements Compute {
) {}

execute() {
console.log('calc exit link ' + this.calculateExitLink());
this.calculateExitLink();
this.calculateEvacueeTipText();
this.calculateMemberTipText();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ export class EssFilesResultsComponent
*/
async openESSFile(selectedESSFile: EvacuationFileSearchResultModel) {
this.essFilesResultsService.setSelectedFile(selectedESSFile.id);
console.log('openEssfile - file: ' + selectedESSFile);
console.log('openEssfile - fileid: ' + selectedESSFile.id);
console.log('openEssfile - isPaperBased: ' + this.evacueeSessionService.isPaperBased);
if (this.evacueeSessionService.isPaperBased) {
if (
this.evacueeSearchService?.evacueeSearchContext?.evacueeSearchParameters
Expand All @@ -87,19 +84,15 @@ export class EssFilesResultsComponent
this.router.navigate(['responder-access/search/essfile-dashboard']);
}
} else {
console.log('openEssfile - hasShownIdentification: ' + this.evacueeSearchService.evacueeSearchContext.hasShownIdentification);
console.log('openEssfile - isFileCompleted: ' + selectedESSFile.isFileCompleted);
if (
!this.evacueeSearchService.evacueeSearchContext
.hasShownIdentification &&
!selectedESSFile.isFileCompleted
) {
console.log('openEssfile - : openUnableAccessDialog');
this.essFilesResultsService.openUnableAccessDialog();
} else if (
!this.evacueeSearchService.evacueeSearchContext.hasShownIdentification
) {
console.log('openEssfile - : security phrase');
this.essFilesResultsService.setloadingOverlay(true);
this.essFileSecurityPhraseService
.getSecurityPhrase(this.appBaseService?.appModel?.selectedEssFile?.id)
Expand All @@ -123,7 +116,6 @@ export class EssFilesResultsComponent
}
});
} else {
console.log('openEssfile - routing to: ' + 'responder-access/search/essfile-dashboard');
this.router.navigate(['responder-access/search/essfile-dashboard']);
}
}
Expand Down

0 comments on commit a3ed5a8

Please sign in to comment.