From fc35d59236f75bc442d8e210ee8096e0f5ec0965 Mon Sep 17 00:00:00 2001 From: MechaCat02 Date: Wed, 27 May 2026 19:27:55 +0200 Subject: [PATCH] fix(dashboard): show pic_ prefix on API-key rows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The backend's ApiKeyDto.prefix is just the 8-char public head (e.g. "PKXPCPH3"); the actual token the user pastes into their CLI is "pic_PKXPCPH3…". Display the full visible identifier so operators can match a row against the token in their notes. Co-Authored-By: Claude Opus 4.7 (1M context) --- dashboard/src/routes/profile/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/routes/profile/+page.svelte b/dashboard/src/routes/profile/+page.svelte index ce9bf00..647b2ef 100644 --- a/dashboard/src/routes/profile/+page.svelte +++ b/dashboard/src/routes/profile/+page.svelte @@ -375,7 +375,7 @@ {#each keys as key (key.id)}
{key.name}
-
{key.prefix}
+
pic_{key.prefix}…
{#each key.scopes as s (s)} {s}