Skip to content

Commit 49c275a

Browse files
author
Simon Bjerre
committed
added event type
1 parent 232a1bf commit 49c275a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/BookingsComponent.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import fixNetworkTime from "../utils/fixNetworkTime"
22
import convertZulu from "../utils/convertZulu"
3+
import bookingType from "../utils/bookingType"
34

45
interface NetworkDataTypes{
56
name: string
@@ -150,7 +151,7 @@ const ScheduleTable: React.FC = () => {
150151
{groupedFilteredSessions[date].map((session: any) => (
151152
<tr key={session.callsign} className="h-6 even:bg-gray-50 odd:bg-white dark:even:bg-[#0f2a38] dark:odd:bg-black">
152153
{session.type === 'Booking' ? <td className="pl-[4px]">{session.callsign}</td> : <td className="pl-[4px]"><span className="text-[#1a4860]"></span> {session.callsign}</td>}
153-
154+
<td>{bookingType(session)}</td>
154155
<td>{convertZulu(session.time_start)}</td>
155156
<td>{session.time_end ? convertZulu(session.time_end) : ""}</td>
156157
</tr>

0 commit comments

Comments
 (0)