This commit is contained in:
Timothy J. Baek 2024-06-27 11:12:07 -07:00
parent c07da8d1f3
commit 3c7f45ced4
2 changed files with 5 additions and 2 deletions

View File

@ -230,7 +230,10 @@
{/if} {/if}
</div> </div>
<SensitiveInput placeholder={$i18n.t('API Key')} value={OPENAI_API_KEYS[idx]} /> <SensitiveInput
placeholder={$i18n.t('API Key')}
bind:value={OPENAI_API_KEYS[idx]}
/>
<div class="self-center flex items-center"> <div class="self-center flex items-center">
{#if idx === 0} {#if idx === 0}
<button <button

View File

@ -1,5 +1,5 @@
<script lang="ts"> <script lang="ts">
export let value: string; export let value: string = '';
export let placeholder = ''; export let placeholder = '';
export let readOnly = false; export let readOnly = false;
export let outerClassName = 'flex flex-1'; export let outerClassName = 'flex flex-1';