Implemented offline-first fast-paths and hardened API/Layout resilience. Added reactive offline banner, root error page, and ghost site fallbacks to handle server downtime and connection loss without crashing.
This commit is contained in:
@@ -584,13 +584,17 @@
|
||||
)} mx-0.5"
|
||||
></span>
|
||||
{event_file_obj.extension}
|
||||
{#if result === null}
|
||||
<span>
|
||||
{#if result === null || result === false}
|
||||
<span class="text-error-500">
|
||||
<span class="fas fa-exclamation-triangle mx-1"></span>
|
||||
Download failed!
|
||||
Failed!
|
||||
</span>
|
||||
{/if}
|
||||
<!-- </span> -->
|
||||
{:catch error}
|
||||
<span class="text-error-500" title={error?.message}>
|
||||
<span class="fas fa-exclamation-circle mx-0.5"></span>
|
||||
Error!
|
||||
</span>
|
||||
{/await}
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user