easyeda 0.0.72 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1247,7 +1247,7 @@ var su = (soup, options = {}) => {
|
|
|
1247
1247
|
},
|
|
1248
1248
|
update: (id, newProps) => {
|
|
1249
1249
|
const elm = soup.find(
|
|
1250
|
-
(e) => e[`${component_type}_id`] === id
|
|
1250
|
+
(e) => e.type === component_type && e[`${component_type}_id`] === id
|
|
1251
1251
|
);
|
|
1252
1252
|
if (!elm)
|
|
1253
1253
|
return;
|
|
@@ -2790,4 +2790,4 @@ export {
|
|
|
2790
2790
|
convertRawEasyToTsx,
|
|
2791
2791
|
convertEasyEdaJsonToVariousFormats
|
|
2792
2792
|
};
|
|
2793
|
-
//# sourceMappingURL=chunk-
|
|
2793
|
+
//# sourceMappingURL=chunk-PDYQEWWL.js.map
|