diff --git a/src/lib/components/chat/Settings/Account.svelte b/src/lib/components/chat/Settings/Account.svelte index f47eac29c..47af62a5b 100644 --- a/src/lib/components/chat/Settings/Account.svelte +++ b/src/lib/components/chat/Settings/Account.svelte @@ -19,6 +19,8 @@ let profileImageUrl = ''; let name = ''; + let showAPIKeys = false; + let showJWTToken = false; let JWTTokenCopied = false; @@ -223,133 +225,47 @@ -
- + +
+ +

-
-
-
-
{$i18n.t('JWT Token')}
-
+
+
{$i18n.t('API keys')}
+ +
-
-
- - - + {#if showAPIKeys} +
+
+
+
{$i18n.t('JWT Token')}
- -
-
-
-
-
{$i18n.t('API Key')}
-
- -
- {#if APIKey} +
+
+
+
+
{$i18n.t('API Key')}
+
+ +
+ {#if APIKey} +
+ + + +
- + + + + + {:else} + - - {:else} - - {/if} + Create new secret key + {/if} +
-
+ {/if}