Skip to content

Commit

Permalink
Codacy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmarsicano committed Feb 5, 2018
1 parent d12862d commit d88b680
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Angular/src/app/project-summary/project-summary.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ export class ProjectSummaryComponent implements OnInit {

save(status: number, checklist: string) {
this.route.params.subscribe(params => {
if (this.comment == undefined || this.comment === "") {
if (this.comment === undefined || this.comment === "") {
this.comment = "";
}
this.commentService.newComment(checklist, this.comment, params['id'], status).subscribe(
() => { },
err => console.log("Error whilst storing the comment!"),
() => {
this.succes = "comment was added to trail";
() => {
this.succes = "comment was added to trail";
this.sprintService.getSprintResults(params['id']).subscribe(
resp => this.sprintResult = resp,
err => console.log("Error getting sprint stats"))
Expand Down

0 comments on commit d88b680

Please sign in to comment.