File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,9 @@ export default {
140140 methods: {
141141 async getCatmap () {
142142 let catmap = await getSavedCategoryWeighting ();
143- catmap = {};
143+ if (! catmap) {
144+ catmap = {};
145+ }
144146 this .categories .sort ();
145147 this .categories .forEach ((e , i ) => {
146148 if (catmap[e] === undefined ) {
Original file line number Diff line number Diff line change @@ -228,7 +228,6 @@ export default {
228228 if (include_current_semester) {
229229 all_courses .push (current_courses);
230230 }
231- console .log (all_courses);
232231 let total_count = 0 ;
233232 let total_gpa = 0 ;
234233 for (let i = 0 ; i < all_courses .length ; i++ ) {
Original file line number Diff line number Diff line change @@ -439,7 +439,6 @@ function addHypoGradeCalc (courses) {
439439async function addVueGrades ( ) {
440440 const assignments = extractAssignmentList ( ) ;
441441 const cat = extractGradeCategories ( document . querySelector ( "table.zebra.grid > tbody" ) ) ;
442- console . log ( assignments ) ;
443442 gt = new ( Vue . extend ( GradeTable ) ) ( { // remake grade table to easily read grades
444443 propsData : {
445444 categories : cat ,
You can’t perform that action at this time.
0 commit comments