Skip to content

Commit

Permalink
error fix in a couple pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau committed Feb 29, 2024
1 parent 5115371 commit dfeed0d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/routes/(app)/browse/globalSearch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@
</div>
</div>
{:else if source.error}
<div>{JSON.stringify(source.error)}</div>
<div class="white-space-pre-wrap">
{JSON.stringify(source.error, null, 4)}
</div>
{:else if source.mangas}
<HorisontalmangaElement
mangas={source.mangas}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/browse/migrate/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
{/each}
{:else if $Migration.error}
<div class="white-space-pre-wrap">
{JSON.stringify($Migration.error)}
{JSON.stringify($Migration.error, null, 4)}
</div>
{:else if sources}
<div>
Expand Down
4 changes: 3 additions & 1 deletion src/routes/(app)/browse/sources/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@

<Nav let:scrollingElement>
{#if $sources.error}
{JSON.stringify($sources.error)}
<div class="white-space-pre-wrap">
{JSON.stringify($sources.error, null, 4)}
</div>
{:else if $sources.fetching}
{#each new Array(5) as _}
<div class=" py-4 px-8">
Expand Down

0 comments on commit dfeed0d

Please sign in to comment.