aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/pw-server/src/routes/bots/[bot_name].svelte3
-rw-r--r--web/pw-server/src/routes/users/[user_name].svelte3
2 files changed, 6 insertions, 0 deletions
diff --git a/web/pw-server/src/routes/bots/[bot_name].svelte b/web/pw-server/src/routes/bots/[bot_name].svelte
index 9e9f016..33a522f 100644
--- a/web/pw-server/src/routes/bots/[bot_name].svelte
+++ b/web/pw-server/src/routes/bots/[bot_name].svelte
@@ -101,6 +101,9 @@
</li>
{/each}
</ul>
+ {#if versions.length == 0}
+ This bot does not have any versions yet.
+ {/if}
</div>
</div>
diff --git a/web/pw-server/src/routes/users/[user_name].svelte b/web/pw-server/src/routes/users/[user_name].svelte
index b6bd34e..c0267b8 100644
--- a/web/pw-server/src/routes/users/[user_name].svelte
+++ b/web/pw-server/src/routes/users/[user_name].svelte
@@ -41,6 +41,9 @@
</li>
{/each}
</ul>
+ {#if bots.length == 0}
+ This user does not have any bots yet.
+ {/if}
</div>
<style lang="scss">