Skip to content

Commit

Permalink
Fixed rendering of gallery circuits
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfaisal committed Jun 25, 2020
1 parent 1bbe1c4 commit 9edd353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ function parseXmlToGraph (xmlDoc, graph) {
console.log(v1.properties)
}
for (var check in props) {
try { v1.properties[check] = cells[i].children[2].attributes[check].value } catch (e) { v1.properties[check] = cells[i].children[1].attributes[check].value }
try { v1.properties[check] = cells[i].children[2].attributes[check].value } catch (e) { /* v1.properties[check] = cells[i].children[1].attributes[check].value */ }
}
console.log('component added')
} else if (cellAttrs.Pin.value === '1') {
Expand Down

0 comments on commit 9edd353

Please sign in to comment.