From 3dc8070efeb19538c4ff120d2a681c4167c716f3 Mon Sep 17 00:00:00 2001 From: whoswhip Date: Fri, 13 Feb 2026 21:58:31 -0500 Subject: [PATCH] feat(frontend:api-keys): display the count of API keys in the header and adjust empty state condition --- SharpbinV3.Client/src/routes/user/[username]/+page.svelte | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SharpbinV3.Client/src/routes/user/[username]/+page.svelte b/SharpbinV3.Client/src/routes/user/[username]/+page.svelte index 60e4afe..f954b14 100644 --- a/SharpbinV3.Client/src/routes/user/[username]/+page.svelte +++ b/SharpbinV3.Client/src/routes/user/[username]/+page.svelte @@ -707,7 +707,7 @@
-

API Keys

+

API Keys ({apiKeys.length}/10)

Manage API keys for accessing Sharpbin programmatically.

@@ -813,9 +813,7 @@ {/if}
- {#if apiKeys.length === 0} -

No API keys found.

- {:else} + {#if apiKeys.length !== 0} {#each apiKeys as key (key.uuid)}