removed some console logs

This commit is contained in:
John Balasis 2022-05-09 14:53:38 +00:00
parent 34d85bdbb8
commit dd3524bc47
4 changed files with 8 additions and 9 deletions

View File

@ -7,7 +7,7 @@ import { Router } from '@angular/router';
@Component ({
selector: 'app-landing',
templateUrl: './home.component.html',
styleUrls: ['../../../../assets/css/landingpage/theme.css','../../../../assets/css/landingpage/custom.css','../../../../assets/css/landingpage/custom-provide.css'],
styleUrls: ['../../../../assets/css/landingpage/theme.css', '../../../../assets/css/landingpage/custom.css', '../../../../assets/css/landingpage/custom-provide.css'],
})
export class HomeComponent implements OnInit {
@ -26,9 +26,9 @@ export class HomeComponent implements OnInit {
const baseUrl = window.location.origin;
this.inBeta = ( baseUrl.includes('beta') || baseUrl.includes('athenarc') );
let body = document.getElementsByTagName('body')[0];
body.classList.remove("dashboard");
body.classList.add("landing");
const body = document.getElementsByTagName('body')[0];
body.classList.remove('dashboard');
body.classList.add('landing');
}
@ -44,7 +44,7 @@ export class HomeComponent implements OnInit {
},
error => console.log(error),
() => {
console.log('statisticsNumbers is', JSON.stringify(this.statisticsNumbers));
// console.log('statisticsNumbers is', JSON.stringify(this.statisticsNumbers));
}
);
}

View File

@ -187,7 +187,7 @@ export class DashboardComponent implements OnInit {
this.validatorService.getValidationSummary(repository.id).subscribe(
validationSummary => {
this.storedJob = validationSummary;
console.log(validationSummary);
// console.log(validationSummary);
},
error => {
this.errorValidationsMessage = loadingJobSummaryError;

View File

@ -90,7 +90,7 @@ export class RegisterDatasourceSelectExistingComponent implements OnInit {
getReposInCountry(i: number) {
const country = this.countries[i];
console.log(`I got ${country} and ${this.mode}`);
// console.log(`I got ${country} and ${this.mode}`);
this.countryRepos = [];
this.selectedCountry = country;
this.hasSelectedCountry = false;
@ -120,7 +120,7 @@ export class RegisterDatasourceSelectExistingComponent implements OnInit {
}
this.loadingMessage = '';
this.alertMessage = '';
console.log('this.selectedCountry became', JSON.stringify(this.selectedCountry));
// console.log('this.selectedCountry became', JSON.stringify(this.selectedCountry));
}
);
}

View File

@ -101,7 +101,6 @@ export class DatasourceUpdateFormComponent implements OnInit {
setupUpdateForm() {
if (this.selectedRepo) {
console.log(`mode is: ${this.mode}`);
this.updateGroup.setValue({
softwarePlatform: this.selectedRepo.typology,