diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/OctoPart/SearchPanel.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/OctoPart/SearchPanel.js index f62671cfe..ce5968761 100644 --- a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/OctoPart/SearchPanel.js +++ b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/OctoPart/SearchPanel.js @@ -206,7 +206,7 @@ Ext.define("PartKeepr.Components.OctoPart.SearchPanel", { }, checkForErrors: function (data) { - if (data.results.length == 0 && data.errors && data.errors.length > 0) { + if (data.errors && data.errors.length > 0) { Ext.Msg.alert(i18n("Octopart Error"), data.errors.map(e => e.message).join()); } diff --git a/src/PartKeepr/OctoPartBundle/Services/OctoPartService.php b/src/PartKeepr/OctoPartBundle/Services/OctoPartService.php index 81cb1ff94..0343735e0 100644 --- a/src/PartKeepr/OctoPartBundle/Services/OctoPartService.php +++ b/src/PartKeepr/OctoPartBundle/Services/OctoPartService.php @@ -55,9 +55,6 @@ class OctoPartService credit_string text } - cad { - add_to_library_url - } reference_designs { name url @@ -137,9 +134,6 @@ class OctoPartService credit_string text } - cad { - add_to_library_url - } reference_designs { name url