From 85bcdfd6c45544355e6ceb124e776c0cd41fd62b Mon Sep 17 00:00:00 2001 From: dvd233 <111864431+dvd233@users.noreply.github.com> Date: Tue, 22 Sep 2026 07:28:37 -0700 Subject: [PATCH] fix(voice): handle cloned voices without a display name Signed-off-by: dvd233 <111864431+dvd233@users.noreply.github.com> --- src/api/voice.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/voice.ts b/src/api/voice.ts index 49dfa7e..33e7946 100644 --- a/src/api/voice.ts +++ b/src/api/voice.ts @@ -34,7 +34,8 @@ export class VoiceAPI { } for (const voice of voiceCloneVoices) { - voiceCloneVoiceList.push(`Name: ${voice.voice_name}, ID: ${voice.voice_id}`); + const voiceName = voice.voice_name || voice.voice_id; + voiceCloneVoiceList.push(`Name: ${voiceName}, ID: ${voice.voice_id}`); } return {