diff --git a/src/Http/Livewire/CsvImporter.php b/src/Http/Livewire/CsvImporter.php index 27b022c..b627953 100644 --- a/src/Http/Livewire/CsvImporter.php +++ b/src/Http/Livewire/CsvImporter.php @@ -45,7 +45,7 @@ class CsvImporter extends Component /** @var array */ protected $exceptions = [ - 'mode', 'columnsToMap', 'open', + 'model', 'columnsToMap', 'open', 'columnLabels', 'requiredColumns', ]; @@ -83,7 +83,7 @@ public function import() $this->resetExcept($this->exceptions); - $this->emitTo('csv-imports', 'imports.refresh'); + $this->emitTo('handle-imports', 'imports.refresh'); } public function toggle()