fix more linting errors
Dieser Commit ist enthalten in:
Ursprung
31b4663b3f
Commit
60388b7dab
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
|
@ -264,20 +264,20 @@ export function requiringAdditionalSubscription(
|
||||||
export function subscriptionLevel(type, category, subCategory) {
|
export function subscriptionLevel(type, category, subCategory) {
|
||||||
switch (category) {
|
switch (category) {
|
||||||
case "actions":
|
case "actions":
|
||||||
if (subscription_levels.["business"].actions.includes(type)) {
|
if (subscription_levels["business"].actions.includes(type)) {
|
||||||
return "business"
|
return "business"
|
||||||
} else {
|
} else {
|
||||||
if (subscription_levels.["standard"].actions.includes(type)) {
|
if (subscription_levels["standard"].actions.includes(type)) {
|
||||||
return "standard"
|
return "standard"
|
||||||
} else {
|
} else {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "custom_fields":
|
case "custom_fields":
|
||||||
if (subscription_levels.["business"].custom_fields[subCategory].includes(type)) {
|
if (subscription_levels["business"].custom_fields[subCategory].includes(type)) {
|
||||||
return "business"
|
return "business"
|
||||||
} else {
|
} else {
|
||||||
if (subscription_levels.["standard"].custom_fields[subCategory].includes(type)) {
|
if (subscription_levels["standard"].custom_fields[subCategory].includes(type)) {
|
||||||
return "standard"
|
return "standard"
|
||||||
} else {
|
} else {
|
||||||
return ""
|
return ""
|
||||||
|
|
Laden …
In neuem Issue referenzieren