mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 19:59:18 -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':
|
||||
$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;
|
||||
|
|
Loading…
Reference in a new issue