Skip to content

Commit 6be66cc

Browse files
leslieyip02kokrui
andauthored
fix(timetable): hover icon visible when no onClick action (#3970)
Co-authored-by: Kok Rui Wong <[email protected]>
1 parent c5d2fd9 commit 6be66cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

website/src/views/timetable/TimetableCell.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ const TimetableCell: React.FC<Props> = (props) => {
140140
</div>
141141

142142
{lesson.isTaInTimetable &&
143+
onClick &&
143144
isHoveredOver &&
144145
hoverLesson &&
145146
(lesson.isActive || !lesson.isOptionInTimetable ? (

0 commit comments

Comments
 (0)