Hide schedule and tracks when stands are selected
This commit is contained in:
parent
97e9a15d9e
commit
570f136ef8
|
@ -53,6 +53,7 @@ export default function Schedule({
|
||||||
{isLoading && <progress value={loadingProgress}/>}
|
{isLoading && <progress value={loadingProgress}/>}
|
||||||
{isComplete && <div className="schedule">
|
{isComplete && <div className="schedule">
|
||||||
<hr/>
|
<hr/>
|
||||||
|
{rows.length > 0 && <>
|
||||||
<table>
|
<table>
|
||||||
{header.length > 0 && <thead>
|
{header.length > 0 && <thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -86,6 +87,7 @@ export default function Schedule({
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div className="separator" />
|
<div className="separator" />
|
||||||
|
</>}
|
||||||
{events.map(event => <section key={event.id} id={'event-'.concat(event.id)}>
|
{events.map(event => <section key={event.id} id={'event-'.concat(event.id)}>
|
||||||
<p>
|
<p>
|
||||||
<strong>{event.title}</strong>
|
<strong>{event.title}</strong>
|
||||||
|
|
Loading…
Reference in New Issue