From 60388b7dab2e0fc1f208d4208aa2f36606810959 Mon Sep 17 00:00:00 2001 From: merefield Date: Wed, 27 Oct 2021 14:52:22 +0100 Subject: [PATCH] fix more linting errors --- assets/javascripts/discourse/lib/wizard-schema.js.es6 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/discourse/lib/wizard-schema.js.es6 b/assets/javascripts/discourse/lib/wizard-schema.js.es6 index 3dd69be0..b482ca2b 100644 --- a/assets/javascripts/discourse/lib/wizard-schema.js.es6 +++ b/assets/javascripts/discourse/lib/wizard-schema.js.es6 @@ -264,20 +264,20 @@ export function requiringAdditionalSubscription( export function subscriptionLevel(type, category, subCategory) { switch (category) { case "actions": - if (subscription_levels.["business"].actions.includes(type)) { + if (subscription_levels["business"].actions.includes(type)) { return "business" } else { - if (subscription_levels.["standard"].actions.includes(type)) { + if (subscription_levels["standard"].actions.includes(type)) { return "standard" } else { return "" } } case "custom_fields": - if (subscription_levels.["business"].custom_fields[subCategory].includes(type)) { + if (subscription_levels["business"].custom_fields[subCategory].includes(type)) { return "business" } else { - if (subscription_levels.["standard"].custom_fields[subCategory].includes(type)) { + if (subscription_levels["standard"].custom_fields[subCategory].includes(type)) { return "standard" } else { return ""