chore: Use per-account feature flag for App Store channel

This commit is contained in:
Muhsin
2026-05-22 11:56:21 +04:00
parent 15227a424a
commit 361b28cb03
15 changed files with 47 additions and 51 deletions
@@ -27,10 +27,6 @@ const hasTiktokConfigured = computed(() => {
return window.chatwootConfig?.tiktokAppId;
});
const isAppStoreReviewsEnabled = computed(() => {
return window.chatwootConfig?.enableAppStoreReviewsChannel === 'true';
});
const isActive = computed(() => {
const { key } = props.channel;
if (Object.keys(props.enabledFeatures).length === 0) {
@@ -57,7 +53,7 @@ const isActive = computed(() => {
}
if (key === 'app_store') {
return isAppStoreReviewsEnabled.value;
return props.enabledFeatures.channel_app_store;
}
if (key === 'voice') {