From b75109dcaccd1f99aefbfae1471fe4109dfa8189 Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 20 May 2023 14:20:49 -0700 Subject: [PATCH] Added component mapping switch Signed-off-by: snipe --- app/Http/Livewire/Importer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Http/Livewire/Importer.php b/app/Http/Livewire/Importer.php index 35fd013113..ddc57852fb 100644 --- a/app/Http/Livewire/Importer.php +++ b/app/Http/Livewire/Importer.php @@ -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;