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:
Ursprung
67cfeb6ed9
Commit
d4e489456e
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
|
@ -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"]
|
||||||
);
|
);
|
||||||
|
|
|
@ -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?
|
||||||
|
|
Laden …
In neuem Issue referenzieren