From ac76ef54879a4ab586040992b331cde5e154b0fd Mon Sep 17 00:00:00 2001 From: saridsa2 Date: Tue, 21 Apr 2026 16:38:18 +0530 Subject: [PATCH] feat: add telephonyEnabled to ui-flags endpoint TELEPHONY_ENABLED env var (default true). When set to false, frontend hides call center nav and shows CRM-only mode. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/config/setup-state.controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/setup-state.controller.ts b/src/config/setup-state.controller.ts index fe6b538..b7bbe92 100644 --- a/src/config/setup-state.controller.ts +++ b/src/config/setup-state.controller.ts @@ -67,6 +67,7 @@ export class SetupStateController { uiFlags() { return { setupManaged: process.env.HELIX_SETUP_MANAGED === 'true', + telephonyEnabled: process.env.TELEPHONY_ENABLED !== 'false', // default true }; } }