feat: rework start time to checkboxes (#553)
* feat: replace dropdown with checkbox * refactor: remove console logs * refactor: eslint happy * refactor: change daysValue from string to array * style: match course schedule page styling * style: remove label font-normal * style: finalize course schedule page style match --------- Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
This commit is contained in:
@@ -13,6 +13,7 @@ export const SiteSupport = {
|
||||
MY_CALENDAR: 'MY_CALENDAR',
|
||||
REPORT_ISSUE: 'REPORT_ISSUE',
|
||||
MY_UT: 'MY_UT',
|
||||
COURSE_CATALOG_SEARCH: 'COURSE_CATALOG_SEARCH',
|
||||
CLASSLIST: 'CLASSLIST',
|
||||
} as const;
|
||||
|
||||
@@ -45,6 +46,7 @@ export default function getSiteSupport(url: string): SiteSupportType | null {
|
||||
if (document.querySelector('#details')) {
|
||||
return SiteSupport.COURSE_CATALOG_DETAILS;
|
||||
}
|
||||
return SiteSupport.COURSE_CATALOG_SEARCH;
|
||||
}
|
||||
if (url.includes('utdirect.utexas.edu') && (url.includes('waitlist') || url.includes('classlist'))) {
|
||||
return SiteSupport.WAITLIST;
|
||||
|
||||
Reference in New Issue
Block a user