remove topup list if on hacker plan
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user