Skip to content

Commit

Permalink
feat: small change to how we handle no names, fallback to default option
Browse files Browse the repository at this point in the history
  • Loading branch information
DereC4 committed Aug 3, 2024
1 parent 83fc1f5 commit 5653068
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,10 @@ async function PapaParse(department, num, name, instructor, sem) {

if (data.length === 0) {
console.error("Error executing query :((( :");
return;
} else {
selectedClass = data;
usingExperimental = true;
}

selectedClass = data;
usingExperimental = true;
} catch (error) {
console.error("Error fetching data:");
}
Expand Down

0 comments on commit 5653068

Please sign in to comment.