Skip to content

Commit

Permalink
SKEDGE-13 (#35)
Browse files Browse the repository at this point in the history
* Updated Inject Professor Name

changed empty professor names to "No Instructor"

* Nit

Co-authored-by: Alexis Kaufman <alexiskaufman@gmail.com>

---------

Co-authored-by: Jake <Jake3231@users.noreply.github.com>
Co-authored-by: Alexis Kaufman <alexiskaufman@gmail.com>
Co-authored-by: Tyler Hill <gotyhill@gmail.com>
  • Loading branch information
4 people authored Jul 16, 2024
1 parent 9fd5ea7 commit 657bc8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export async function scrapeCourseData() {
});
// append professor name to the table
const newTd = document.createElement('td');
newTd.innerText = professor;
newTd.innerText = professor ?? 'No Instructor';
// this is in case we have multiple instructions per section
const sectionProfessors = professor.split(',');
sectionProfessors.forEach((sectionProfessor) => {
Expand Down

0 comments on commit 657bc8d

Please sign in to comment.