aboutsummaryrefslogtreecommitdiff
path: root/ui/src/routes/list/+page.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/routes/list/+page.svelte')
-rw-r--r--ui/src/routes/list/+page.svelte7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/src/routes/list/+page.svelte b/ui/src/routes/list/+page.svelte
index c487068..3b463b5 100644
--- a/ui/src/routes/list/+page.svelte
+++ b/ui/src/routes/list/+page.svelte
@@ -7,8 +7,11 @@
.then((res) => res.json())
.then(resData => data = resData);
+
+
</script>
+<!-- TODO: Figure out how to gracefully handle 500's and such here -->
{#if data}
<ul>
{#each data as paste (paste.id)}
@@ -19,4 +22,6 @@
</li>
{/each}
</ul>
-{/if} \ No newline at end of file
+{:else}
+ Loading....
+{/if}