chore: add feature flags

This commit is contained in:
Muhsin
2026-03-27 13:43:30 +04:00
parent 1d555cebfc
commit 797d7790db
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -36,6 +36,7 @@ export const FEATURE_FLAGS = {
CHATWOOT_V4: 'chatwoot_v4',
CHANNEL_INSTAGRAM: 'channel_instagram',
CHANNEL_TIKTOK: 'channel_tiktok',
CHANNEL_VOICE: 'channel_voice',
CONTACT_CHATWOOT_SUPPORT_TEAM: 'contact_chatwoot_support_team',
CAPTAIN_V2: 'captain_integration_v2',
CAPTAIN_TASKS: 'captain_tasks',
@@ -210,7 +210,11 @@ export default {
if (
this.isATwilioChannel &&
this.inbox.phone_number &&
this.inbox.medium === 'sms'
this.inbox.medium === 'sms' &&
this.isFeatureEnabledonAccount(
this.accountId,
FEATURE_FLAGS.CHANNEL_VOICE
)
) {
visibleToAllChannelTabs = [
...visibleToAllChannelTabs,