feat: small change to how we handle no names, fallback to default option

This commit is contained in:
2024-08-03 15:17:35 -05:00
parent 83fc1f53c9
commit 56530685e2

View File

@@ -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:");
}