This commit is contained in:
parent
0a336082ed
commit
2764ca1057
|
@ -94,6 +94,7 @@ export const removeElective = function (ical: iCalFile, chosenElective: string):
|
||||||
let remainingEvents: string[] = [];
|
let remainingEvents: string[] = [];
|
||||||
|
|
||||||
let electiveToRemove = electiveModules;
|
let electiveToRemove = electiveModules;
|
||||||
|
logger.info(JSON.stringify(electiveToRemove));
|
||||||
electiveToRemove.splice(parseInt(chosenElective), 1);
|
electiveToRemove.splice(parseInt(chosenElective), 1);
|
||||||
|
|
||||||
logger.info('Chosen elective: ' + chosenElective);
|
logger.info('Chosen elective: ' + chosenElective);
|
||||||
|
@ -121,6 +122,7 @@ export const removeProfile = function (ical: iCalFile, chosenProfile: string): i
|
||||||
let remainingEvents: string[] = [];
|
let remainingEvents: string[] = [];
|
||||||
|
|
||||||
let profileToRemove = profileModules;
|
let profileToRemove = profileModules;
|
||||||
|
logger.info(JSON.stringify(profileToRemove));
|
||||||
profileToRemove.splice(parseInt(chosenProfile), 1);
|
profileToRemove.splice(parseInt(chosenProfile), 1);
|
||||||
|
|
||||||
logger.info('Chosen profile: ' + chosenProfile);
|
logger.info('Chosen profile: ' + chosenProfile);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user