Commit 556e101 Simon Bjerre
committed
1 parent 4fdb1f8 commit 556e101 Copy full SHA for 556e101
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -144,12 +144,13 @@ const ScheduleTable: React.FC = () => {
144
144
< div >
145
145
{ Object . keys ( groupedFilteredSessions ) . map ( ( date : string ) => (
146
146
< div key = { date } >
147
- < h2 className = "bg-[#d5dfdf] w-full font-bold text-black p-2 text-center" > { getDayName ( date ) } </ h2 >
147
+ < h2 className = "bg-[#d5dfdf] dark:bg-[#1b3546] w-full font-bold text-black dark:text-white p-2 text-center" > { getDayName ( date ) } </ h2 >
148
148
< table className = "w-full px-2" >
149
149
< tbody >
150
150
{ groupedFilteredSessions [ date ] . map ( ( session : any ) => (
151
151
< tr key = { session . callsign } className = "h-6 even:bg-gray-50 odd:bg-white dark:even:bg-[#0f2a38] dark:odd:bg-black" >
152
- < td > { session . callsign } </ td >
152
+ { session . type === 'Booking' ? < td > { session . callsign } </ td > : < td > 🟢 { session . callsign } </ td > }
153
+
153
154
< td > { convertZulu ( session . time_start ) } </ td >
154
155
< td > { session . time_end ? convertZulu ( session . time_end ) : "" } </ td >
155
156
</ tr >
You can’t perform that action at this time.
0 commit comments