feat: small change to how we handle no names, fallback to default option
This commit is contained in:
@@ -112,11 +112,10 @@ async function PapaParse(department, num, name, instructor, sem) {
|
|||||||
|
|
||||||
if (data.length === 0) {
|
if (data.length === 0) {
|
||||||
console.error("Error executing query :((( :");
|
console.error("Error executing query :((( :");
|
||||||
return;
|
} else {
|
||||||
|
selectedClass = data;
|
||||||
|
usingExperimental = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
selectedClass = data;
|
|
||||||
usingExperimental = true;
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error fetching data:");
|
console.error("Error fetching data:");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user