From d4e489456e61e39359c79d77834e094b371b2b70 Mon Sep 17 00:00:00 2001 From: Robert Barrow Date: Tue, 12 Oct 2021 13:01:39 +0100 Subject: [PATCH] rename functional levels --- assets/javascripts/discourse/lib/wizard-schema.js.es6 | 4 ++-- lib/custom_wizard/subscription/subscription.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/discourse/lib/wizard-schema.js.es6 b/assets/javascripts/discourse/lib/wizard-schema.js.es6 index f36110da..34df21d2 100644 --- a/assets/javascripts/discourse/lib/wizard-schema.js.es6 +++ b/assets/javascripts/discourse/lib/wizard-schema.js.es6 @@ -219,11 +219,11 @@ export function actionsAvailableWithAdditionalSubscription( currentSubscription ) { switch (currentSubscription) { - case "business": + case "complete": return []; case "advanced": return action.actionTypesWithSubscription["business"]; - case "community": + case "core": return action.actionTypesWithSubscription["advanced"].concat( action.actionTypesWithSubscription["business"] ); diff --git a/lib/custom_wizard/subscription/subscription.rb b/lib/custom_wizard/subscription/subscription.rb index b2ddf744..84d21c9d 100644 --- a/lib/custom_wizard/subscription/subscription.rb +++ b/lib/custom_wizard/subscription/subscription.rb @@ -13,7 +13,7 @@ class CustomWizard::Subscription::Subscription end def types - %w(core advanced business) + %w(core advanced complete) end def active?