Skip to content

Commit

Permalink
Cleanup console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gpspatacean committed Feb 28, 2024
1 parent 0b977ff commit 2f49aae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ export class GeneratorsDropdownComponent implements OnInit, OnDestroy {
this.sub = this.generatorsService.listGenerators().subscribe({
next: generators => {
this.generatorsList = generators;
console.log(generators)
},
error: err => console.log(err),
complete: () => console.log("done")
error: err => {
},
complete: () => {
}
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@ export class AppConfigService {
}

loadAppConfiguration() {
console.log("Loading App Configuration");

const baseConfigPath: string = "/assets/config.json";
const configPath: string = this.baseHref === "/" ? baseConfigPath : this.baseHref + baseConfigPath;
return this.http
.get<AppConfig>(configPath)
.pipe(tap(data => {
this.appConfig = data;
console.log("Data read:" + data);
})
);
}
Expand Down

0 comments on commit 2f49aae

Please sign in to comment.