0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +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": case "business":
return []; return [];
case "standard": case "standard":
return subscription_levels["business"].[category]; return subscription_levels["business"][category];
default: default:
return subscription_levels["standard"].[category].concat( return subscription_levels["standard"][category].concat(
subscription_levels["business"].[category] subscription_levels["business"][category]
); );
} }
case "custom_fields": case "custom_fields":
@ -249,10 +249,10 @@ export function requiringAdditionalSubscription(
case "business": case "business":
return []; return [];
case "standard": case "standard":
return subscription_levels["business"].[category].[subCategory]; return subscription_levels["business"][category][subCategory];
default: default:
return subscription_levels["standard"].[category].[subCategory].concat( return subscription_levels["standard"][category][subCategory].concat(
subscription_levels["business"].[category].[subCategory] subscription_levels["business"][category][subCategory]
); );
} }
default: default: