File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ export function buttonOptions(checkClass: any) {
2222 }
2323 if ( checkClass . conflicts . _any ) {
2424 icon = 'mdi-alert-circle'
25- tooltips = checkClass . conflicts . time . map ( ( c : any ) => 'Conflict: ' + c . name )
25+ tooltips = [
26+ ...tooltips ,
27+ ...checkClass . conflicts . time . map ( ( c : any ) => 'Conflict: ' + c . name ) ,
28+ ]
2629 color = 'error'
2730 disabled = true
2831 }
@@ -31,11 +34,14 @@ export function buttonOptions(checkClass: any) {
3134 icon = 'mdi-alert'
3235 color = 'error'
3336 tooltips = [
37+ ...tooltips ,
3438 availability == 'Unknown'
3539 ? 'Not Available for an Unknown reason!'
3640 : availability ,
3741 ]
3842 if ( checkClass . available == 'Full' ) icon = 'mdi-alert-plus'
43+ // class itself is added, but full
44+ if ( sameCourse && sameCourse . crn == checkClass . crn ) color = 'success'
3945 }
4046
4147 let buttonOptions = {
You can’t perform that action at this time.
0 commit comments