diff --git a/assets/javascripts/discourse/lib/wizard-schema.js.es6 b/assets/javascripts/discourse/lib/wizard-schema.js.es6 index d62a2df8..3dd69be0 100644 --- a/assets/javascripts/discourse/lib/wizard-schema.js.es6 +++ b/assets/javascripts/discourse/lib/wizard-schema.js.es6 @@ -238,10 +238,10 @@ export function requiringAdditionalSubscription( case "business": return []; case "standard": - return subscription_levels["business"].[category]; + return subscription_levels["business"][category]; default: - return subscription_levels["standard"].[category].concat( - subscription_levels["business"].[category] + return subscription_levels["standard"][category].concat( + subscription_levels["business"][category] ); } case "custom_fields": @@ -249,10 +249,10 @@ export function requiringAdditionalSubscription( case "business": return []; case "standard": - return subscription_levels["business"].[category].[subCategory]; + return subscription_levels["business"][category][subCategory]; default: - return subscription_levels["standard"].[category].[subCategory].concat( - subscription_levels["business"].[category].[subCategory] + return subscription_levels["standard"][category][subCategory].concat( + subscription_levels["business"][category][subCategory] ); } default: