Skip to content

Commit 9edd353

Browse files
committed
Fixed rendering of gallery circuits
1 parent 1bbe1c4 commit 9edd353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eda-frontend/src/components/SchematicEditor/Helper/ToolbarTools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ function parseXmlToGraph (xmlDoc, graph) {
951951
console.log(v1.properties)
952952
}
953953
for (var check in props) {
954-
try { v1.properties[check] = cells[i].children[2].attributes[check].value } catch (e) { v1.properties[check] = cells[i].children[1].attributes[check].value }
954+
try { v1.properties[check] = cells[i].children[2].attributes[check].value } catch (e) { /* v1.properties[check] = cells[i].children[1].attributes[check].value */ }
955955
}
956956
console.log('component added')
957957
} else if (cellAttrs.Pin.value === '1') {

0 commit comments

Comments
 (0)