diff --git a/app/Console/Commands/ObjectImportCommand.php b/app/Console/Commands/ObjectImportCommand.php index c777a35809..4064a01420 100644 --- a/app/Console/Commands/ObjectImportCommand.php +++ b/app/Console/Commands/ObjectImportCommand.php @@ -111,6 +111,9 @@ class ObjectImportCommand extends Command case "accessory": $this->accessories = Accessory::All(); break; + case "component": + $this->components = Component::All(); + break; case "consumable": $this->consumables = Consumable::All(); break; diff --git a/resources/views/hardware/import.blade.php b/resources/views/hardware/import.blade.php index 0283398206..b0a0ebaf36 100644 --- a/resources/views/hardware/import.blade.php +++ b/resources/views/hardware/import.blade.php @@ -66,7 +66,7 @@