Skip to content

Commit

Permalink
little fix lol
Browse files Browse the repository at this point in the history
  • Loading branch information
stadial committed Oct 23, 2022
1 parent f5b8b1d commit 4fdafa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions logic/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ export function buttonOptions(checkClass: any) {
disabled = true
}
let availability: string = checkClass.available
if (availability != 'Available') {
if (availability != 'available') {
icon = 'mdi-alert'
color = 'error'
tooltips = [
...tooltips,
availability == 'Unknown'
availability == 'Unknown'// todo
? 'Not Available for an Unknown reason!'
: availability,
]
if (checkClass.available == 'Full') icon = 'mdi-alert-plus'
if (checkClass.available == 'full') icon = 'mdi-alert-plus'
// class itself is added, but full
if (sameCourse && sameCourse.crn == checkClass.crn) {
color = 'success'
Expand Down

0 comments on commit 4fdafa4

Please sign in to comment.