mirror of
https://github.com/comatory/fb2iCal
synced 2025-02-15 19:20:37 +01:00
21 lines
424 B
Svelte
21 lines
424 B
Svelte
<script>
|
|
import Input from './Input.svelte'
|
|
import TrackingPanel from './TrackingPanel.svelte'
|
|
import EventList from './EventList.svelte'
|
|
|
|
import { configStore, eventStore } from '../stores'
|
|
|
|
$: showTrackingPanel = $configStore.track === undefined
|
|
$: showEventList = $eventStore.events.length > 0
|
|
</script>
|
|
|
|
{#if showTrackingPanel}
|
|
<TrackingPanel />
|
|
{/if}
|
|
|
|
<Input />
|
|
{#if showEventList}
|
|
<EventList />
|
|
{/if}
|
|
|