0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00
Dieser Commit ist enthalten in:
merefield 2021-10-19 13:13:32 +01:00
Ursprung 487ad3c46d
Commit b616adaf71
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -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`),

Datei anzeigen

@ -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 [];
}
}