|
@@ -691,7 +691,7 @@
|
|
/>
|
|
/>
|
|
|
|
|
|
<div class="self-end mb-2 flex space-x-1 mr-1">
|
|
<div class="self-end mb-2 flex space-x-1 mr-1">
|
|
- {#if !history?.currentId || history.messages[history.currentId].done == true}
|
|
|
|
|
|
+ {#if !history?.currentId || history.messages[history.currentId]?.done == true}
|
|
<Tooltip content={$i18n.t('Record voice')}>
|
|
<Tooltip content={$i18n.t('Record voice')}>
|
|
<button
|
|
<button
|
|
id="voice-input-button"
|
|
id="voice-input-button"
|
|
@@ -743,7 +743,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-end w-10">
|
|
<div class="flex items-end w-10">
|
|
- {#if !history.currentId || history.messages[history.currentId].done == true}
|
|
|
|
|
|
+ {#if !history.currentId || history.messages[history.currentId]?.done == true}
|
|
{#if prompt === ''}
|
|
{#if prompt === ''}
|
|
<div class=" flex items-center mb-1">
|
|
<div class=" flex items-center mb-1">
|
|
<Tooltip content={$i18n.t('Call')}>
|
|
<Tooltip content={$i18n.t('Call')}>
|