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:
@ -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>
|
||||
|
Reference in New Issue
Block a user