Timothy Jaeryang Baek 1 год назад
Родитель
Сommit
8d62cc1935
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/lib/components/chat/MessageInput.svelte

+ 1 - 1
src/lib/components/chat/MessageInput.svelte

@@ -1238,7 +1238,7 @@
 											</Tooltip>
 										{/if}
 
-										{#if taskIds && taskIds.length > 0}
+										{#if (taskIds && taskIds.length > 0) || (history.currentId && history.messages[history.currentId]?.done != true)}
 											<div class=" flex items-center">
 												<Tooltip content={$i18n.t('Stop')}>
 													<button