Hide schedule and tracks when stands are selected

This commit is contained in:
Vencislav Atanasov 2024-10-01 20:15:55 +03:00
parent 97e9a15d9e
commit 570f136ef8
1 changed files with 35 additions and 33 deletions

View File

@ -53,6 +53,7 @@ export default function Schedule({
{isLoading && <progress value={loadingProgress}/>}
{isComplete && <div className="schedule">
<hr/>
{rows.length > 0 && <>
<table>
{header.length > 0 && <thead>
<tr>
@ -86,6 +87,7 @@ export default function Schedule({
</tbody>
</table>
<div className="separator" />
</>}
{events.map(event => <section key={event.id} id={'event-'.concat(event.id)}>
<p>
<strong>{event.title}</strong>