0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00

fix variable reference

Dieser Commit ist enthalten in:
merefield 2023-09-23 18:38:22 +01:00
Ursprung d6ca154668
Commit a558e19a54

Datei anzeigen

@ -33,7 +33,7 @@ export default SingleSelectComponent.extend({
} }
let allowedTypes = []; let allowedTypes = [];
Object.keys(attributes[attribute]).forEach((subscriptionType) => { Object.keys(attributes[attribute]).forEach((subscriptionType) => {
let values = attributes[attribute][subscription.subscriptionType]; let values = attributes[attribute][subscriptionType];
if (values[0] === "*" || values.includes(value)) { if (values[0] === "*" || values.includes(value)) {
allowedTypes.push(subscriptionType); allowedTypes.push(subscriptionType);
} }