Commit de523e9
committed
refactor(assets): Refactors list_microgrid_electrical_component_connections
To use map/filter for cleaner logic and to skip invalid connections.
Signed-off-by: eduardiazf <[email protected]>1 parent 2712193 commit de523e9
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
0 commit comments