Timothy Jaeryang Baek 1 hónapja
szülő
commit
54d5281256

+ 1 - 1
src/lib/components/chat/Messages/UserMessage.svelte

@@ -347,7 +347,7 @@
 								</button>
 								</button>
 							</Tooltip>
 							</Tooltip>
 
 
-							{#if !readOnly && siblings.length > 1}
+							{#if !readOnly && (!isFirstMessage || siblings.length > 1)}
 								<Tooltip content={$i18n.t('Delete')} placement="bottom">
 								<Tooltip content={$i18n.t('Delete')} placement="bottom">
 									<button
 									<button
 										class="invisible group-hover:visible p-1 rounded-sm dark:hover:text-white hover:text-black transition"
 										class="invisible group-hover:visible p-1 rounded-sm dark:hover:text-white hover:text-black transition"