This commit is contained in:
Timothy Jaeryang Baek
2026-07-16 02:21:46 -04:00
parent 3c45f9f511
commit f0eea61155
3 changed files with 2 additions and 19 deletions
@@ -2172,23 +2172,6 @@
</Tooltip>
</div>
{:else}
{#if prompt !== '' && !history?.currentId && !$selectedTerminalId && ($config?.features?.enable_notes ?? false) && ($_user?.role === 'admin' || ($_user?.permissions?.features?.notes ?? true))}
<!-- {$i18n.t('Create Note')} -->
<Tooltip content={$i18n.t('Create note')} className=" flex items-center">
<button
id="create-note-button"
class=" text-gray-500 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-200 transition rounded-full p-[5px] -mr-1 self-center"
type="button"
disabled={prompt === '' && files.length === 0}
on:click={() => {
createNote();
}}
>
<Note className="size-4.5 translate-y-[0.5px]" />
</button>
</Tooltip>
{/if}
{#if !history?.currentId || history.messages[history.currentId]?.done == true}
{#if $_user?.role === 'admin' || ($_user?.permissions?.chat?.stt ?? true)}
<!-- {$i18n.t('Record voice')} -->