mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-15 09:23:49 +01:00
De-python-ization
This commit is contained in:
parent
17dc5ab169
commit
53b6a98edc
2 changed files with 3 additions and 3 deletions
|
|
@ -128,7 +128,7 @@ exports.parse = (config, name, points={}, units={}, asym='source') => {
|
|||
|
||||
// otherwise, it is treated as a condition to filter all available points
|
||||
} else {
|
||||
source = Object.values(points).filter(complex(config, name, units))
|
||||
const source = Object.values(points).filter(complex(config, name, units))
|
||||
if (['source', 'both'].includes(asym)) {
|
||||
result = result.concat(source)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue