This commit is contained in:
Timothy Jaeryang Baek
2026-03-21 18:59:25 -05:00
parent aa59b32374
commit d8fa0f426a

View File

@@ -202,7 +202,7 @@
const stopAudio = () => {
try {
speechSynthesis.cancel();
$audioQueue.stop();
$audioQueue?.stop();
} catch {}
if (speaking) {
@@ -1015,7 +1015,7 @@
</button>
</Tooltip>
{#if $user?.role === 'admin' || ($user?.permissions?.chat?.tts ?? true)}
{#if !readOnly && ($user?.role === 'admin' || ($user?.permissions?.chat?.tts ?? true))}
<Tooltip content={$i18n.t('Read Aloud')} placement="bottom">
<button
aria-label={$i18n.t('Read Aloud')}