mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Added component mapping switch
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b7149d8339
commit
b75109dcac
|
@ -81,6 +81,9 @@ class Importer extends Component
|
||||||
case 'consumable':
|
case 'consumable':
|
||||||
$results = $this->general_fields + $this->consumables_fields;
|
$results = $this->general_fields + $this->consumables_fields;
|
||||||
break;
|
break;
|
||||||
|
case 'component':
|
||||||
|
$results = $this->general_fields + $this->components_fields;
|
||||||
|
break;
|
||||||
case 'license':
|
case 'license':
|
||||||
$results = $this->general_fields + $this->licenses_fields;
|
$results = $this->general_fields + $this->licenses_fields;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue