mirror of
https://github.com/comatory/fb2iCal
synced 2025-04-26 15:48:41 +02:00
23 lines
474 B
Svelte
23 lines
474 B
Svelte
<script>
|
|
import Input from './Input.svelte'
|
|
import EventList from './EventList.svelte'
|
|
import Status from './Status.svelte'
|
|
import TrackingPanel from './TrackingPanel.svelte'
|
|
|
|
import { configStore, eventStore } from '../stores'
|
|
|
|
$: showTrackingPanel = $configStore.track === undefined
|
|
$: showEventList = $eventStore.events.length > 0
|
|
</script>
|
|
|
|
{#if showTrackingPanel}
|
|
<TrackingPanel />
|
|
{/if}
|
|
|
|
<Status />
|
|
<Input />
|
|
{#if showEventList}
|
|
<EventList />
|
|
{/if}
|
|
|