fix: a reply's sources are read out with their numbers (#32621)

This commit is contained in:
G30 2026-10-20 13:31:37 -04:00 • committed by GitHub
parent 62cfd09fa4
commit e9470816fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -226,7 +226,7 @@
<button
id={`source-${id}-${idx + 1}`}
aria-label={$i18n.t('View source: {{name}}', {
name: decodeString(citation.source.name)
name: `${idx + 1} ${decodeString(citation.source.name)}`
})}
class="no-toggle outline-hidden flex dark:text-gray-300 bg-transparent text-gray-600 rounded-xl gap-1.5 items-center"
on:click={() => {