1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-06-05 22:09:25 +02:00

fix: extract service worker setup to Svelte app initialization

This commit is contained in:
Ondřej Synáček
2020-12-20 15:00:00 +01:00
parent a5b9887fec
commit 29ad7fcf73
6 changed files with 54 additions and 59 deletions

View File

@ -14,7 +14,7 @@
</style>
<script>
import { parseStatusStore, requestStore } from '../stores'
import { parseStatusStore, requestStore, swStatusStore } from '../stores'
$: error = ($requestStore && $requestStore.error) ? $requestStore.error : null
$: pendingRequest = Boolean($requestStore && !$requestStore.error)
@ -36,4 +36,9 @@
{$parseStatusStore}
</div>
{/if}
{#if $swStatusStore}
<div class='status-item'>
{$swStatusStore}
</div>
{/if}
</div>