Skip to content

Commit

Permalink
Fix: Fix course loading show undine selection
Browse files Browse the repository at this point in the history
  • Loading branch information
whats2000 committed Nov 18, 2024
1 parent 89b72cd commit cf061f9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions client-website/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,16 @@ class Header extends Component<HeaderProps, HeaderState> {
{!isExperimentalFeaturesEnabled && (
<StyledNavDropdown
title={
(
currentVersionDisplay ? (
<>
<ClockHistory />
<span className='ms-2'>
{currentVersionDisplay}
</span>
</>
) || '找尋資料中...'
) : (
'找尋資料中...'
)
}
id='nav-dropdown-course-history'
className='px-3 float-start'
Expand All @@ -313,14 +315,16 @@ class Header extends Component<HeaderProps, HeaderState> {
{isExperimentalFeaturesEnabled && (
<StyledNavDropdown
title={
(
selectedSemester && availableSemesters.history ? (
<>
<ClockHistory />
<span className='ms-2'>
{this.convertSemesterToDisplay(selectedSemester)}
</span>
</>
) || '找尋資料中...'
) : (
'找尋資料中...'
)
}
id='nav-dropdown-course-history'
className='px-3 float-start'
Expand Down

0 comments on commit cf061f9

Please sign in to comment.