Added component mapping switch

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-05-20 14:20:49 -07:00
parent b7149d8339
commit b75109dcac

View file

@ -81,6 +81,9 @@ class Importer extends Component
case 'consumable':
$results = $this->general_fields + $this->consumables_fields;
break;
case 'component':
$results = $this->general_fields + $this->components_fields;
break;
case 'license':
$results = $this->general_fields + $this->licenses_fields;
break;