Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
fix linting
Dieser Commit ist enthalten in:
Ursprung
487ad3c46d
Commit
b616adaf71
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
|
@ -105,7 +105,6 @@ export default Component.extend(UndoChanges, {
|
|||
return Object.keys(wizardSchema.action.types).reduce((result, type) => {
|
||||
let subscriptionLabel = (subscribedActions.includes(type) || unsubscribedActions.includes(type));
|
||||
let disabled = unsubscribedActions.includes(type);
|
||||
console.log(subscriptionLabel, disabled);
|
||||
result.push({
|
||||
id: type,
|
||||
name: I18n.t(`admin.wizard.action.${type}.label`),
|
||||
|
|
|
@ -223,7 +223,7 @@ export function actionsAvailableWithAdditionalSubscription(
|
|||
return [];
|
||||
case "basic":
|
||||
return action.actionTypesWithSubscription["advanced"];
|
||||
case "none", "":
|
||||
case "none":
|
||||
return action.actionTypesWithSubscription["basic"].concat(
|
||||
action.actionTypesWithSubscription["advanced"]
|
||||
);
|
||||
|
@ -239,7 +239,7 @@ export function actionsAvailableWithCurrentSubscription(
|
|||
action.actionTypesWithSubscription["basic"]);
|
||||
case "basic":
|
||||
return action.actionTypesWithSubscription["basic"];
|
||||
case "none", "":
|
||||
case "none":
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
|
Laden …
In neuem Issue referenzieren