remove topup list if on hacker plan

This commit is contained in:
Tanmay Deep Sharma
2025-10-29 03:05:49 +05:30
parent 81c1ab73e6
commit abeb938bfd
4 changed files with 53 additions and 1 deletions
@@ -18,6 +18,7 @@ const {
LOGO_DARK: logoDark,
PRIVACY_URL: privacyURL,
IS_ENTERPRISE: isEnterprise,
STRIPE_BILLING_V2_ENABLED: stripeBillingV2Enabled,
TERMS_URL: termsURL,
WIDGET_BRAND_URL: widgetBrandURL,
DISABLE_USER_PROFILE_UPDATE: disableUserProfileUpdate,
@@ -46,6 +47,7 @@ const state = {
termsURL,
widgetBrandURL,
isEnterprise: parseBoolean(isEnterprise),
stripeBillingV2Enabled: parseBoolean(stripeBillingV2Enabled),
};
export const getters = {
@@ -53,6 +55,7 @@ export const getters = {
isOnChatwootCloud: $state => $state.deploymentEnv === 'cloud',
isACustomBrandedInstance: $state => $state.installationName !== 'Chatwoot',
isAChatwootInstance: $state => $state.installationName === 'Chatwoot',
isStripeBillingV2Enabled: $state => $state.stripeBillingV2Enabled,
};
export const actions = {};