0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 17:30:29 +01:00

rename functional levels

Dieser Commit ist enthalten in:
Robert Barrow 2021-10-12 13:01:39 +01:00
Ursprung 67cfeb6ed9
Commit d4e489456e
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -219,11 +219,11 @@ export function actionsAvailableWithAdditionalSubscription(
currentSubscription currentSubscription
) { ) {
switch (currentSubscription) { switch (currentSubscription) {
case "business": case "complete":
return []; return [];
case "advanced": case "advanced":
return action.actionTypesWithSubscription["business"]; return action.actionTypesWithSubscription["business"];
case "community": case "core":
return action.actionTypesWithSubscription["advanced"].concat( return action.actionTypesWithSubscription["advanced"].concat(
action.actionTypesWithSubscription["business"] action.actionTypesWithSubscription["business"]
); );

Datei anzeigen

@ -13,7 +13,7 @@ class CustomWizard::Subscription::Subscription
end end
def types def types
%w(core advanced business) %w(core advanced complete)
end end
def active? def active?