Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
});
}
} else {
- for (const configuration of commandPayload.key) {
- const keyFound = this._getConfigurationKey(configuration);
+ for (const configurationKey of commandPayload.key) {
+ const keyFound = this._getConfigurationKey(configurationKey);
if (keyFound) {
if (Utils.isUndefined(keyFound.visible)) {
keyFound.visible = true;
} else {
- keyFound.visible = Utils.convertToBoolean(configuration.visible);
+ keyFound.visible = Utils.convertToBoolean(configurationKey.visible);
}
if (!keyFound.visible) {
continue;
value: keyFound.value,
});
} else {
- unknownKey.push(configuration);
+ unknownKey.push(configurationKey);
}
}
}