From 71b32c497927e225e6f09827e56b5ead7ee0f84c Mon Sep 17 00:00:00 2001
From: Scott Berg <saberg3@wisc.edu>
Date: Fri, 10 May 2019 13:59:42 -0500
Subject: [PATCH] ROENROLL-1700 Remove dev logging

---
 src/app/degree-planner/degree-planner.component.ts        | 1 -
 .../remove-course-confirm-dialog.component.ts             | 3 ---
 .../shared/course-item/course-item.component.ts           | 8 --------
 src/app/degree-planner/store/effects/plan.effects.ts      | 1 -
 4 files changed, 13 deletions(-)

diff --git a/src/app/degree-planner/degree-planner.component.ts b/src/app/degree-planner/degree-planner.component.ts
index 3509039..54939e5 100644
--- a/src/app/degree-planner/degree-planner.component.ts
+++ b/src/app/degree-planner/degree-planner.component.ts
@@ -252,7 +252,6 @@ export class DegreePlannerComponent implements OnInit {
         }
       }
     }
-    // console.log(termCodes);
 
     return termCodes;
   }
diff --git a/src/app/degree-planner/dialogs/remove-course-confirm-dialog/remove-course-confirm-dialog.component.ts b/src/app/degree-planner/dialogs/remove-course-confirm-dialog/remove-course-confirm-dialog.component.ts
index 29a94e4..115fe8c 100644
--- a/src/app/degree-planner/dialogs/remove-course-confirm-dialog/remove-course-confirm-dialog.component.ts
+++ b/src/app/degree-planner/dialogs/remove-course-confirm-dialog/remove-course-confirm-dialog.component.ts
@@ -31,12 +31,9 @@ export class RemoveCourseConfirmDialogComponent implements OnInit {
   removeCourse() {
     switch (this.type) {
       case 'saved':
-        console.log('remove course from saved');
         break;
 
       case 'course':
-        console.log('remove course from term');
-        console.log(this.course);
         const id = this.course.id;
         if (typeof id === 'number') {
           const fromTermCode = this.termCodeService.fromString(
diff --git a/src/app/degree-planner/shared/course-item/course-item.component.ts b/src/app/degree-planner/shared/course-item/course-item.component.ts
index b3e2b25..27fd3b2 100644
--- a/src/app/degree-planner/shared/course-item/course-item.component.ts
+++ b/src/app/degree-planner/shared/course-item/course-item.component.ts
@@ -272,14 +272,6 @@ export class CourseItemComponent implements OnInit {
       .subscribe((result: { confirmed: boolean }) => {
         // If the user confirmed the removal, remove course
         if (result && result.confirmed) {
-          console.log(this.type);
-
-          console.log({
-            type: this.type,
-            fromTermCode: this.course.termCode,
-            recordId: this.course.id,
-          });
-
           switch (this.type) {
             case 'course':
               this.store.dispatch(
diff --git a/src/app/degree-planner/store/effects/plan.effects.ts b/src/app/degree-planner/store/effects/plan.effects.ts
index dc891eb..0e16e1f 100644
--- a/src/app/degree-planner/store/effects/plan.effects.ts
+++ b/src/app/degree-planner/store/effects/plan.effects.ts
@@ -59,7 +59,6 @@ export class DegreePlanEffects {
     ofType(ROOT_EFFECTS_INIT),
     // Load the list of degree plans and data used by all degree plans.
     flatMap(() => {
-      console.log('loading all degree plans');
       return forkJoinWithKeys({
         allDegreePlans: this.api.getAllDegreePlans(),
         activeTermCodes: this.api.getActiveTermCodes(),
-- 
GitLab