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

Fix linting errors

Dieser Commit ist enthalten in:
merefield 2021-10-27 14:41:49 +01:00
Ursprung 0c9acb9b20
Commit 31b4663b3f

Datei anzeigen

@ -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: