From c07ef2026d25fbacb316c32a87ff8fa7b05d1543 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Tue, 24 Feb 2026 21:00:10 +0700 Subject: [PATCH] fix: export isCommCallPlayable from useCallAudio composable Function was used in CrmWorkspaceApp template but not exported/destructured, causing TypeError at runtime. Co-Authored-By: Claude Opus 4.6 --- frontend/app/components/workspace/CrmWorkspaceApp.vue | 1 + frontend/app/composables/useCallAudio.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/app/components/workspace/CrmWorkspaceApp.vue b/frontend/app/components/workspace/CrmWorkspaceApp.vue index 5c95de0..b7a4e43 100644 --- a/frontend/app/components/workspace/CrmWorkspaceApp.vue +++ b/frontend/app/components/workspace/CrmWorkspaceApp.vue @@ -277,6 +277,7 @@ const { callTranscriptLoading, callTranscriptText, callTranscriptError, + isCommCallPlayable, ensureCommCallWave, destroyCommCallWave, destroyAllCommCallWaves, diff --git a/frontend/app/composables/useCallAudio.ts b/frontend/app/composables/useCallAudio.ts index 80ee194..d823da2 100644 --- a/frontend/app/composables/useCallAudio.ts +++ b/frontend/app/composables/useCallAudio.ts @@ -432,6 +432,7 @@ export function useCallAudio() { startEventArchiveRecording, stopEventArchiveRecording, toggleEventArchiveRecording, + isCommCallPlayable, setCommCallWaveHost, }; }