diff --git a/web/src/components/ApiKey/ApiKeyManager.vue b/web/src/components/ApiKey/ApiKeyManager.vue index 78b31c6c58..c69bd89596 100644 --- a/web/src/components/ApiKey/ApiKeyManager.vue +++ b/web/src/components/ApiKey/ApiKeyManager.vue @@ -261,40 +261,42 @@ async function copyKeyTemplate(key: ApiKeyFragment) { role }} -
{{ copied ? 'Copied!' : 'Copy to clipboard...' }}
+
+ {{ showKey[key.id] ? key.key : '••••••••••••••••••••••••••••••••' }}
+
{{ copied ? 'Copied!' : 'Copy to clipboard...' }}
-
+ {{ showKey ? createdApiKey : '••••••••••••••••••••••••••••••••' }}
+