Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
fix variable reference
Dieser Commit ist enthalten in:
Ursprung
d6ca154668
Commit
a558e19a54
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren