Fix crash when quitting an unfocused job

This commit is contained in:
Olivier Gagnon
2021-08-10 19:36:52 -04:00
parent 547324a813
commit e18aa08eeb
5 changed files with 769 additions and 1153 deletions

View File

@@ -1785,6 +1785,7 @@ export function getNextCompanyPosition(company, entryPosType) {
}
export function quitJob(company) {
this.isWorking = false;
this.companyName = "";
delete this.jobs[company];
}